import type { TreeVisitor } from "../../visitor"; export type VisitorConstructor = new (...args: any[]) => TreeVisitor; /** * Registers a visitor so it can be invoked directly by its fully-qualified (Java-style) * name over RPC, rather than as part of a prepared recipe. This lets a language service on * the Java side (e.g. {@code JavaScriptAutoFormatService}) delegate to a TypeScript visitor * by name. Language modules register their visitors from their own RPC setup, keeping the * core RPC layer free of language-specific imports. */ export declare function registerVisitor(name: string, ctor: VisitorConstructor): void; export declare function lookupVisitor(name: string): VisitorConstructor | undefined; //# sourceMappingURL=visitor-registry.d.ts.map