/** * delete_doc tool - Delete documents with confirmation flow, soft delete to trash, and backup. */ import { z } from 'zod'; import type { ToolContext, ToolResult } from '../types.js'; /** * Trash directory name (relative to repo root). */ export declare const TRASH_DIR = ".trash"; /** * Protected files that cannot be deleted. */ export declare const PROTECTED_FILES: readonly string[]; /** * Input schema for delete_doc tool. */ export declare const DeleteDocInputSchema: z.ZodObject<{ path: z.ZodString; confirm: z.ZodDefault>; permanent: z.ZodDefault>; }, z.core.$strip>; export type DeleteDocInput = z.infer; /** * Output interface for delete_doc tool. */ export interface DeleteDocOutput { path: string; deleted?: boolean; pending?: boolean; preview?: string; trash?: string; backup?: string; } /** * Handle delete_doc tool request. * Deletes documents with confirmation flow, soft delete to trash, and backup. * * @param input - Tool input * @param context - Tool context * @returns Tool result */ export declare function handleDeleteDoc(input: DeleteDocInput, context: ToolContext): Promise; //# sourceMappingURL=delete-doc.d.ts.map