export interface CommandResult { success: boolean; output: string; error?: string; } /** * Execute a Clay CLI command in the specified working directory */ export declare function executeClayCommand(command: string, args: string[], workingDirectory: string): CommandResult; /** * Check if Clay CLI is available */ export declare function isClayAvailable(): boolean; /** * Get Clay CLI version */ export declare function getClayVersion(): string | null; /** * Get the version of the parent clay-generator package. * * Walks up from this file's own location looking for the nearest * package.json named "clay-generator" (skipping mcp/package.json, which * describes the MCP server itself, not Clay). This works both in * development, where the server runs from /mcp/ and the parent * package.json is at /package.json, and once published, where the * server runs from node_modules/clay-generator/mcp/dist/index.js and the * parent package.json is at node_modules/clay-generator/package.json. */ export declare function getClayPackageVersion(): string; /** * Parse Clay generate output to extract statistics */ export declare function parseGenerateOutput(output: string): { filesGenerated: number; filesCopied: number; commandsExecuted: number; }; /** * Read and parse .clay file */ export declare function readClayFile(clayFilePath: string): { models: Array<{ path: string; output: string; generated_files: Record; last_generated?: string; }>; }; //# sourceMappingURL=clay-wrapper.d.ts.map