/** * CLI command: update-doc * Update existing documents. */ import type { ServerConfig } from '../config.js'; import type { UpdateDocOutput } from '../tools/update-doc.js'; /** * Options for updating documents. */ export interface UpdateDocOptions { path: string; content?: string; mode?: 'overwrite' | 'append' | 'prepend'; patch?: { search: string; replace: string; }; createBackup?: boolean; force?: boolean; } /** * Get document update result from the tool handler. * Returns structured data for rendering. * * @param config - Server configuration * @param options - Update options * @returns Update result or error message */ export declare function getUpdateDocData(config: ServerConfig, options: UpdateDocOptions): Promise; /** * Update an existing document. * * @param config - Server configuration * @param options - Update options * @returns Formatted string output for CLI */ export declare function updateDoc(config: ServerConfig, options: UpdateDocOptions): Promise; //# sourceMappingURL=docs-update.d.ts.map