/**
 * PostgreSQL tsvector full-text search across entities, content, and annotations.
 */
export interface FtsResult {
    source: string;
    ref_id: string;
    text: string | null;
    rank: number;
}
/**
 * Full-text search using tsvector GIN indexes.
 * Builds a simple AND tsquery from whitespace-separated words.
 */
export declare function ftsSearch(q: string, limit?: number): Promise<FtsResult[]>;
//# sourceMappingURL=fts.d.ts.map