/** * StoreTools - MCP tool handlers for multi-store management * * Tools: * - list_stores: list all registered + active stores (action:"register"/"unregister" to manage) * - select_store: switch the active store (by path or storeId) * * A "store" is a Memory Bank instance at a given path. The default store * is the current workspace's memory-bank folder. Additional stores are * persisted in stores.json via StoreRegistry. */ import { MemoryBankManager } from '../../core/MemoryBankManager.js'; export declare const storeToolDefinitions: ({ name: string; description: string; inputSchema: { type: "object"; properties: { action?: undefined; path?: undefined; storeId?: undefined; kind?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: "object"; properties: { action: { type: string; enum: string[]; description: string; }; path: { type: string; description: string; }; storeId: { type: string; description: string; }; kind: { type: string; enum: string[]; description: string; }; }; required: string[]; }; })[]; export interface StoreInfo { id: string; path: string; kind: 'local' | 'remote'; isActive: boolean; hasGraph: boolean; fileCount: number; lastUsedAt: string; } /** * Handler for list_stores * * Merges the currently active store with all registry entries. */ export declare function handleListStores(memoryBankManager: MemoryBankManager): Promise<{ content: { type: string; text: string; }[]; }>; /** * Handler for select_store * * Handles multiple actions: * - select (default): Switch the active Memory Bank store * - register: Add a store to the persistent registry * - unregister: Remove a store from the registry */ export declare function handleSelectStore(memoryBankManager: MemoryBankManager, storePath?: string, storeId?: string, action?: 'select' | 'register' | 'unregister', kind?: 'local' | 'remote'): Promise<{ content: { type: string; text: string; }[]; isError: boolean; } | { content: { type: string; text: string; }[]; isError?: undefined; }>; //# sourceMappingURL=StoreTools.d.ts.map