import * as rpc from "vscode-jsonrpc/node"; import { Recipe } from "../../recipe"; import { Cursor } from "../../tree"; import { TreeVisitor } from "../../visitor"; import { DataTableStore } from "../../data-table"; export interface VisitResponse { modified: boolean; } export declare class Visit { readonly visitor: string; readonly sourceFileType: string; readonly visitorOptions: Map | undefined; readonly treeId: string; readonly p: string; readonly cursor: string[] | undefined; constructor(visitor: string, sourceFileType: string, visitorOptions: Map | undefined, treeId: string, p: string, cursor: string[] | undefined); static handle(connection: rpc.MessageConnection, localObjects: Map, preparedRecipes: Map, recipeCursors: WeakMap, getObject: (id: string, sourceFileType?: string) => any, captureRefCheckpoint: (treeId: string) => void, getCursor: (cursorIds: string[] | undefined, sourceFileType?: string) => Promise, dataTableStore: () => DataTableStore | undefined, metricsCsv?: string): void; static instantiateVisitor(request: { visitor: string; visitorOptions?: Map; }, preparedRecipes: Map, recipeCursors: WeakMap, p: any): Promise>; } //# sourceMappingURL=visit.d.ts.map