import { Minutes, Recipe, RecipeDescriptor, ScanningRecipe } from "../recipe"; import { RewriteRpc } from "./rewrite-rpc"; import { TreeVisitor } from "../visitor"; import { ExecutionContext } from "../execution"; import { SourceFile, Tree } from "../tree"; export declare class RpcRecipe extends ScanningRecipe { private readonly rpc; private readonly remoteId; private readonly _descriptor; readonly editVisitor: string; readonly scanVisitor?: string | undefined; name: string; displayName: string; description: string; tags: string[]; estimatedEffortPerOccurrence: Minutes; constructor(rpc: RewriteRpc, remoteId: string, _descriptor: RecipeDescriptor, editVisitor: string, scanVisitor?: string | undefined); descriptor(): Promise; instanceName(): string; initialValue(_ctx: ExecutionContext): number; editorWithData(_acc: number): Promise>; scanner(_acc: number): Promise>; generate(_acc: number, ctx: ExecutionContext): Promise; recipeList(): Promise; onComplete(ctx: ExecutionContext): Promise; } export declare class RpcVisitor extends TreeVisitor { private readonly rpc; private readonly visitorName; constructor(rpc: RewriteRpc, visitorName: string); isAcceptable(sourceFile: SourceFile, _: ExecutionContext): Promise; protected preVisit(tree: Tree, ctx: ExecutionContext): Promise; } //# sourceMappingURL=recipe.d.ts.map