import type { JournalEntry, EntryType } from '../../../../types/index.js'; import { type EntriesSharedContext } from '../shared.js'; import { type SortBy } from './cursor.js'; export interface SearchQueryRow { id: number; highlight_snippet?: string; } export declare function ftsRankToRelevance(rank: number): number; export declare function extractSnippet(row: unknown): { id: number; snippet: string; }; export declare function searchEntries(context: EntriesSharedContext, queryStr: string, options?: { limit?: number; cursor?: string; isPersonal?: boolean; projectNumber?: number; issueNumber?: number; prNumber?: number; prStatus?: string; workflowRunId?: number; tags?: string[]; entryType?: EntryType; startDate?: string; endDate?: string; sortBy?: SortBy; includeArchived?: boolean; includeHighlights?: boolean; fuzzy_match?: boolean; auto_correct?: boolean; workspaceId?: string; offset?: number; }): { entries: JournalEntry[]; nextCursor?: string; degraded?: boolean; highlights?: { id: number; snippet: string; }[]; suggestions?: string[]; correctedQuery?: string; }; //# sourceMappingURL=fts-and-hybrid.d.ts.map