export interface SearchQuery { text: string; limit?: number; } export interface SessionSearchHit { sessionId: string; score?: number; top?: { entryId: string; snippet?: string; timestamp: number; }; } export interface EntrySearchHit { sessionId: string; entryId: string; timestamp: number; snippet?: string; score?: number; } export interface SessionSearchService { searchSessions(query: SearchQuery): Promise; searchEntries?(query: SearchQuery): Promise; sync(): Promise; notify(sessionId: string): void; remove(sessionId: string): Promise; close(): Promise; } //# sourceMappingURL=index.d.ts.map