export interface SchemaToolFileResult { ok: boolean; message: string; data?: unknown; configPath: string; /** True when the operation changed the schema and .apsorc was rewritten. */ saved: boolean; lint: { errorCount: number; warningCount: number; report: string; }; } /** * Run one @apso/schema-tools operation on an .apsorc file: read it, apply the * operation, write it back when the operation changed the schema, and return * the lint result. An operation that would add a lint error is rejected by * the tool and the file is left untouched. */ export declare function applySchemaToolToFile(configPath: string, name: string, input: unknown): SchemaToolFileResult; type ToolServer = { tool: (...args: any[]) => unknown; }; /** * Register every @apso/schema-tools operation as a granular MCP tool on the * project's .apsorc (found from the current directory up), next to the coarse * design/validate/scaffold tools. The JSON Schema inputs from the package are * converted to zod for the MCP SDK. */ export declare function registerSchemaTools(server: ToolServer): void; export {};