import { type PipelineBus } from "./pipeline-bus.js"; import type { Reasoner, ReasonerTurn, ReasoningPart } from "./reasoner.js"; import { type Scheduler } from "./scheduler.js"; export interface HedgedReasonerOptions { readonly primary: Reasoner; readonly backup: Reasoner; readonly hedgeAfterMs: number; readonly bus?: PipelineBus; readonly contextId?: string; readonly scheduler?: Scheduler; } export declare class HedgedReasoner implements Reasoner { private readonly opts; private readonly scheduler; constructor(opts: HedgedReasonerOptions); stream(turn: ReasonerTurn): AsyncIterable; private doStream; private raceToCommit; private metric; } //# sourceMappingURL=reasoner-hedge.d.ts.map