export type StorageMode = 'local' | 'zep-cloud'; export interface IStorageStatus { status: 'ok'; action: 'status'; mode: string; endpoint: string; groupId: string; isConnected: boolean; connectionError?: string; } export interface IStorageSwitchResult { status: 'ok' | 'error'; action: 'switch'; previousMode?: string; newMode?: string; endpoint?: string; verified?: boolean; message: string; verifyError?: string; } export interface IStorageServiceDependencies { envPath: string; zepBaseUrl?: string; defaultLocalEndpoint?: string; defaultZepEndpoint?: string; } export interface IStorageService { readEnvConfig(): Record; updateEnvStorageMode(newMode: StorageMode): void; checkDockerRunning(): { running: boolean; error?: string; }; checkZepApiKeyExists(env: Record): { exists: boolean; error?: string; }; pingLocalMcp(endpoint: string): Promise<{ reachable: boolean; error?: string; }>; pingZepCloud(apiKey: string): Promise<{ reachable: boolean; error?: string; }>; getStatus(): Promise; switchMode(newMode: StorageMode): Promise; } /** * Creates a storage service instance. */ export declare function createStorageService(deps: IStorageServiceDependencies): IStorageService; //# sourceMappingURL=StorageService.d.ts.map