import type { Driver } from "./types.js"; export interface AdvisorFallbackOptions { primary: Driver; /** Driver consulted only when the stall policy fires (typically aiDriver). */ fallback: Driver; /** Consecutive zero-novelty actions before consulting fallback. Default: 5. */ noveltyStallThreshold?: number; /** Consult on invariant violations. Default: true. */ consultOnInvariantViolation?: boolean; /** Optional name override. */ name?: string; } export interface NoveltySignal { /** Call after each action to report whether it produced new coverage. */ recordNovelty(hadNovelty: boolean): void; /** Force the next step to consult the fallback. */ consultNow(): void; } /** * Returns a driver and a control object the caller can use to feed * novelty / invariant signals back in. The crawler already tracks these * for the legacy advisor — wiring them here keeps the same source of * truth. */ export declare function advisorFallbackDriver(options: AdvisorFallbackOptions): { driver: Driver; signal: NoveltySignal; }; //# sourceMappingURL=advisor-fallback.d.ts.map