/** * list_docs tool: List files and directories with optional filtering. */ import { z } from 'zod'; import type { ToolContext, ToolResult } from '../types.js'; /** * Input schema for list_docs tool. */ export declare const ListDocsInputSchema: z.ZodObject<{ path: z.ZodDefault; pattern: z.ZodOptional; depth: z.ZodDefault; includeHidden: z.ZodDefault; prettyPrint: z.ZodDefault; }, z.core.$strip>; export type ListDocsInput = z.infer; /** * Directory entry interface. */ export interface DirEntry { name: string; type: 'file' | 'directory'; size?: number; children?: number; modified?: string; } /** * Output interface for list_docs tool. */ export interface ListDocsOutput { path: string; entries: DirEntry[]; total: number; } /** * Handle list_docs tool request. * Lists directory contents with optional filtering. * * @param input - Tool input * @param context - Tool context * @returns Tool result */ export declare function handleListDocs(input: ListDocsInput, context: ToolContext): Promise; //# sourceMappingURL=list-docs.d.ts.map