export declare function rebuildFtsIndex(): {
    rebuilt: boolean;
    eventCount: number;
    ftsCount: number;
    message: string;
};
export declare function isFtsStale(): {
    stale: boolean;
    eventCount: number;
    ftsCount: number;
    ratio: number;
};
export interface SearchResult {
    id: number;
    project: string;
    type: string;
    summary: string;
    topic: string | null;
    importance: number;
    details_json: string | null;
    files_json: string | null;
    created_at: string;
    score: number;
}
export interface SearchOptions {
    query?: string;
    project?: string;
    type?: string;
    minImportance?: number;
    maxImportance?: number;
    topic?: string;
    days?: number;
    limit?: number;
    sortBy?: 'relevance' | 'importance' | 'recent';
}
export declare function fuzzySearchMemory(options: SearchOptions): SearchResult[];
export declare function getSearchSuggestions(project: string, partial: string): string[];
export interface FtsHealth {
    ftsExists: boolean;
    eventCount: number;
    ftsCount: number;
    ratio: number;
    status: 'healthy' | 'degraded' | 'missing' | 'empty';
    message: string;
}
export declare function getFtsHealth(): FtsHealth;
//# sourceMappingURL=memory-search.d.ts.map