import type { DatabaseSync } from "node:sqlite"; import { type RecallBundle } from "./envelope.js"; /** * 自动召回检索门与 bundle 构建。 */ export interface AutoRetrieveInput { prompt: string; cwd: string; currentSessionId: string; requestId: string; } export interface AutoRetrieveResult { bundle: RecallBundle | null; reason?: string; } /** * 在全部 gate 通过时构建非空 bundle;否则返回 null(no-hit / disabled)。 */ export declare function autoRetrieve(db: DatabaseSync, input: AutoRetrieveInput): AutoRetrieveResult; //# sourceMappingURL=auto-retrieve.d.ts.map