#### updating `Printer` interface (#19014 by @Janther)

```diff
export interface Printer<T = any> {
  // ...
-    print: (AstPath<T>) => Doc,
+    print: (
+      selector?: string | number | Array<string | number> | AstPath<T>,
+      args?: unknown,
+    ) => Doc,
  // ...
}
```
