import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import { z } from 'zod'; import { CplaceApiClient } from '../api.js'; export declare function formatDocumentContentError(prefix: string, error: unknown): string; export declare const DOCUMENT_TOOL_DEFINITIONS: { readonly cplace_get_document: { readonly description: "Get document details including fulltext content. Retrieves metadata and extracted text for a document by its UID. Document UIDs are found in page responses (documents array). Supports reading large documents in chunks via fulltextOffset and fulltextMaxLength parameters."; readonly inputSchema: { readonly documentUID: z.ZodString; readonly fulltextOffset: z.ZodOptional; readonly fulltextMaxLength: z.ZodOptional; }; readonly annotations: { readonly title: "Get Document"; }; }; readonly cplace_download_document: { readonly description: string; readonly inputSchema: { readonly documentUID: z.ZodString; readonly targetPath: z.ZodString; }; readonly annotations: { readonly title: "Download Document"; }; }; readonly cplace_upload_document: { readonly description: string; readonly inputSchema: { readonly filePath: z.ZodOptional; readonly content: z.ZodOptional; readonly pageUID: z.ZodOptional; readonly documentUID: z.ZodOptional; readonly fileName: z.ZodOptional; }; readonly annotations: { readonly title: "Upload Document"; }; }; }; export declare function registerDocumentTools(server: McpServer, client: CplaceApiClient): void; //# sourceMappingURL=documents.d.ts.map