astro-ghostcms/.pnpm-store/v3/files/61/35c0440f851e81551dca8bd569b...

22 lines
808 B
Plaintext
Raw Permalink Normal View History

2024-02-14 14:10:47 +00:00
import type { TSESTree } from '@typescript-eslint/types';
import { VisitorKeys } from '@typescript-eslint/visitor-keys';
interface VisitorOptions {
childVisitorKeys?: VisitorKeys | null;
visitChildrenEvenIfSelectorExists?: boolean;
}
declare abstract class VisitorBase {
#private;
constructor(options: VisitorOptions);
/**
* Default method for visiting children.
* @param node the node whose children should be visited
* @param excludeArr a list of keys to not visit
*/
visitChildren<T extends TSESTree.Node>(node: T | null | undefined, excludeArr?: (keyof T)[]): void;
/**
* Dispatching node.
*/
visit(node: TSESTree.Node | null | undefined): void;
}
export { VisitorBase, VisitorOptions, VisitorKeys };
//# sourceMappingURL=VisitorBase.d.ts.map