import { DaemonFleet, type DaemonFleetOpts } from '../../../daemon/fleet.js'; export interface TestFleet { fleet: DaemonFleet; /** Await lane quiescence: every job enqueued so far (including jobs those * jobs enqueued) has settled. */ drain(): Promise; } /** Construct a DaemonFleet on a private serial lane and bind it as THIS * process's fleet. Call in `before`/`beforeEach`; `bindFleet` throws on a * conflicting rebind, so the previous binding is reset first (same idiom as * resetEventSourceForTests). Pass `now` to inject the throttle clock. */ export declare function bindTestFleet(opts?: Partial>): TestFleet;