@vscode-mcp/vscode-mcp-ipc
Version:
IPC communication layer between MCP Server and VSCode extension
55 lines • 1.54 kB
TypeScript
import { z } from 'zod';
export declare const RenameSymbolInputSchema: z.ZodObject<{
filePath: z.ZodString;
symbol: z.ZodString;
codeSnippet: z.ZodOptional<z.ZodString>;
} & {
newName: z.ZodString;
}, "strict", z.ZodTypeAny, {
symbol: string;
filePath: string;
newName: string;
codeSnippet?: string | undefined;
}, {
symbol: string;
filePath: string;
newName: string;
codeSnippet?: string | undefined;
}>;
export declare const RenameSymbolOutputSchema: z.ZodObject<{
success: z.ZodBoolean;
symbolName: z.ZodOptional<z.ZodString>;
modifiedFiles: z.ZodArray<z.ZodObject<{
uri: z.ZodString;
changeCount: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
uri: string;
changeCount: number;
}, {
uri: string;
changeCount: number;
}>, "many">;
totalChanges: z.ZodNumber;
error: z.ZodOptional<z.ZodString>;
}, "strict", z.ZodTypeAny, {
success: boolean;
modifiedFiles: {
uri: string;
changeCount: number;
}[];
totalChanges: number;
error?: string | undefined;
symbolName?: string | undefined;
}, {
success: boolean;
modifiedFiles: {
uri: string;
changeCount: number;
}[];
totalChanges: number;
error?: string | undefined;
symbolName?: string | undefined;
}>;
export type RenameSymbolPayload = z.infer<typeof RenameSymbolInputSchema>;
export type RenameSymbolResult = z.infer<typeof RenameSymbolOutputSchema>;
//# sourceMappingURL=rename-symbol.d.ts.map