import type { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import type { Config } from "../../config/schema.js"; import type { ILibraryOperations } from "../../features/operations/library-operations.js"; /** * Parameters for the fulltext_attach tool */ export interface FulltextAttachToolParams { /** Reference ID */ id: string; /** Path to the file to attach */ path: string; } /** * Parameters for the fulltext_get tool */ export interface FulltextGetToolParams { /** Reference ID */ id: string; } /** * Parameters for the fulltext_detach tool */ export interface FulltextDetachToolParams { /** Reference ID */ id: string; } /** * Register the fulltext_attach tool with the MCP server. * * @param server - The MCP server instance * @param getLibraryOperations - Function to get the current library operations instance * @param getConfig - Function to get the current config */ export declare function registerFulltextAttachTool(server: McpServer, getLibraryOperations: () => ILibraryOperations, getConfig: () => Config): void; /** * Register the fulltext_get tool with the MCP server. * * @param server - The MCP server instance * @param getLibraryOperations - Function to get the current library operations instance * @param getConfig - Function to get the current config */ export declare function registerFulltextGetTool(server: McpServer, getLibraryOperations: () => ILibraryOperations, getConfig: () => Config): void; /** * Register the fulltext_detach tool with the MCP server. * * @param server - The MCP server instance * @param getLibraryOperations - Function to get the current library operations instance * @param getConfig - Function to get the current config */ export declare function registerFulltextDetachTool(server: McpServer, getLibraryOperations: () => ILibraryOperations, getConfig: () => Config): void; /** * Parameters for the fulltext_discover tool */ export interface FulltextDiscoverToolParams { /** Reference ID */ id: string; } /** * Register the fulltext_discover tool with the MCP server. */ export declare function registerFulltextDiscoverTool(server: McpServer, getLibraryOperations: () => ILibraryOperations, getConfig: () => Config): void; /** * Parameters for the fulltext_fetch tool */ export interface FulltextFetchToolParams { /** Reference ID */ id: string; /** Preferred source (optional) */ source?: string | undefined; /** Force overwrite existing (optional) */ force?: boolean | undefined; } /** * Register the fulltext_fetch tool with the MCP server. */ export declare function registerFulltextFetchTool(server: McpServer, getLibraryOperations: () => ILibraryOperations, getConfig: () => Config): void; /** * Parameters for the fulltext_convert tool */ export interface FulltextConvertToolParams { /** Reference ID */ id: string; /** Input format: "xml" or "pdf" (default: auto-detect) */ from?: "xml" | "pdf" | undefined; /** PDF converter name (default: auto) */ converter?: string | undefined; } /** * Register the fulltext_convert tool with the MCP server. */ export declare function registerFulltextConvertTool(server: McpServer, getLibraryOperations: () => ILibraryOperations, getConfig: () => Config): void; //# sourceMappingURL=fulltext.d.ts.map