import type { JobRequests } from '../services/ports/jobRequests.js'; /** * TEST-ONLY. A `JobRequests` that keeps the uuids it was asked for, and can be * told to fail. A request stays in flight until a test takes it, as the event * process takes an event off the queue. */ export declare class MemoryJobRequests implements JobRequests { /** Every request made, in order, taken or not. */ readonly requested: string[]; private waiting; private failures; /** The next `times` requests throw. */ failNext(times?: number): void; request(jobUuid: string): Promise; inFlight(jobUuids: readonly string[]): Promise>; /** The event process takes the requests off the queue. */ take(): string[]; }