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"; import { type SearchSortField, type SortOrder } from "../../features/pagination/index.js"; export interface SearchToolParams { query: string; sort?: SearchSortField | undefined; order?: SortOrder | undefined; limit?: number | undefined; offset?: number | undefined; } /** * Register the search 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 registerSearchTool(server: McpServer, getLibraryOperations: () => ILibraryOperations, getConfig: () => Config): void; //# sourceMappingURL=search.d.ts.map