/** * zeroResultTriage.ts * * Weekly zero-result query reporter. * Queries `request_events` for searches that returned zero results (last 7 days), * groups by query_text, and writes a triage page to the wiki at * `data/zero-results-.md`. * * Phase 4 accuracy improvement. */ import type { StorageClient } from "../storage/client.js"; export declare function runZeroResultTriage(supabaseUrl: string, serviceRoleKey: string, drive: StorageClient): Promise<{ page: string; rowCount: number; } | null>; /** * Start a weekly recurring triage job. * Runs immediately on first call, then every 7 days. * Returns a cleanup function that cancels the recurring timer. */ export declare function startZeroResultTriageCron(supabaseUrl: string, serviceRoleKey: string, getDrive: () => StorageClient): () => void; //# sourceMappingURL=zeroResultTriage.d.ts.map