import { z } from 'zod'; import { RequestContext } from '../../../utils/internal/requestContext.js'; export declare const ListFilesInputSchema: z.ZodObject<{ path: z.ZodString; includeNested: z.ZodDefault; maxEntries: z.ZodDefault>; }, "strip", z.ZodTypeAny, { path: string; includeNested: boolean; maxEntries: number; }, { path: string; includeNested?: boolean | undefined; maxEntries?: number | undefined; }>; export type ListFilesInput = z.infer; export interface ListFilesOutput { message: string; tree: string; requestedPath: string; resolvedPath: string; itemCount: number; truncated: boolean; } /** * Lists files and directories at a given path, optionally recursively. * * @param {ListFilesInput} input - The input object containing path and options. * @param {RequestContext} context - The request context. * @returns {Promise} A promise resolving with the listing results. * @throws {McpError} For path errors, directory not found, or I/O errors. */ export declare const listFilesLogic: (input: ListFilesInput, context: RequestContext) => Promise;