import { z } from 'zod'; import { RequestContext } from '../../../utils/internal/requestContext.js'; export declare const DeleteDirectoryInputSchema: z.ZodObject<{ path: z.ZodString; recursive: z.ZodDefault; }, "strip", z.ZodTypeAny, { path: string; recursive: boolean; }, { path: string; recursive?: boolean | undefined; }>; export type DeleteDirectoryInput = z.infer; export interface DeleteDirectoryOutput { message: string; deletedPath: string; wasRecursive: boolean; } /** * Deletes a specified directory, optionally recursively. * * @param {DeleteDirectoryInput} input - The input object containing path and recursive flag. * @param {RequestContext} context - The request context. * @returns {Promise} A promise resolving with the deletion status. * @throws {McpError} For path errors, directory not found, not a directory, directory not empty (if not recursive), or I/O errors. */ export declare const deleteDirectoryLogic: (input: DeleteDirectoryInput, context: RequestContext) => Promise;