export interface SessionSearchEntry {
    id: string;
    sessionId: string;
    timestamp: string;
    role: string;
    text: string;
    tokens: string[];
}
export interface SessionSearchResult {
    entry: SessionSearchEntry;
    score: number;
}
export interface SessionSearchIndexMetadata {
    rebuiltAt: string;
    sessionCount: number;
    entryCount: number;
    sourceUpdatedAt: string;
}
export interface SessionSearchIndexFile {
    metadata: SessionSearchIndexMetadata;
    entries: SessionSearchEntry[];
}
export interface SessionSearchIndexStatus extends SessionSearchIndexMetadata {
    exists: boolean;
    fresh: boolean;
    indexPath: string;
}
export declare function rebuildSessionSearchIndex(projectDir: string): Promise<SessionSearchEntry[]>;
export declare function rebuildSessionSearchIndexWithMetadata(projectDir: string, now?: Date): Promise<SessionSearchIndexFile>;
export declare function searchSessions(projectDir: string, query: string, limit?: number): Promise<SessionSearchResult[]>;
export declare function getSessionSearchIndexStatus(projectDir: string): Promise<SessionSearchIndexStatus>;
//# sourceMappingURL=sessionSearchIndex.d.ts.map