import { z } from 'zod'; import { type CapabilityDispatcher } from '../capabilities/runtime/dispatcher.js'; import { type FileSpaceService } from '../files/file-service.js'; export declare const McpFileSpacesOutput: z.ZodObject<{ spaces: z.ZodArray; bindings: z.ZodArray; id: z.ZodString; }, z.core.$strip>>; writable: z.ZodBoolean; lastActivityAt: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export declare const McpFileListOutput: z.ZodObject<{ spaceId: z.ZodString; path: z.ZodString; items: z.ZodArray; size: z.ZodOptional; mimeType: z.ZodOptional; modifiedAt: z.ZodOptional; revision: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export declare const McpFileSearchOutput: z.ZodObject<{ query: z.ZodString; hits: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>; export declare const McpFileReadOutput: z.ZodObject<{ id: z.ZodString; spaceId: z.ZodString; name: z.ZodString; relativePath: z.ZodString; mimeType: z.ZodOptional; encoding: z.ZodEnum<{ utf8: "utf8"; base64: "base64"; }>; data: z.ZodString; size: z.ZodNumber; offset: z.ZodNumber; nextOffset: z.ZodNullable; revision: z.ZodString; }, z.core.$strip>; export declare const mcpFileTools: { readonly 'xopc.files.spaces': { readonly scope: "workspace.read"; readonly output: z.ZodObject<{ spaces: z.ZodArray; bindings: z.ZodArray; id: z.ZodString; }, z.core.$strip>>; writable: z.ZodBoolean; lastActivityAt: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }; readonly 'xopc.files.list': { readonly scope: "workspace.read"; readonly output: z.ZodObject<{ spaceId: z.ZodString; path: z.ZodString; items: z.ZodArray; size: z.ZodOptional; mimeType: z.ZodOptional; modifiedAt: z.ZodOptional; revision: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }; readonly 'xopc.files.search': { readonly scope: "workspace.read"; readonly output: z.ZodObject<{ query: z.ZodString; hits: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>; }; readonly 'xopc.files.get': { readonly scope: "workspace.read"; readonly output: z.ZodObject<{ id: z.ZodString; spaceId: z.ZodString; name: z.ZodString; relativePath: z.ZodString; mimeType: z.ZodOptional; encoding: z.ZodEnum<{ utf8: "utf8"; base64: "base64"; }>; data: z.ZodString; size: z.ZodNumber; offset: z.ZodNumber; nextOffset: z.ZodNullable; revision: z.ZodString; }, z.core.$strip>; }; }; export declare function registerWorkspaceFiles(dispatcher: CapabilityDispatcher, getFiles: () => FileSpaceService): void;