/** Absolute monotonic deadline and cancellation signal. */
export declare class HealthDeadline {
    readonly signal: AbortSignal;
    private readonly controller;
    private readonly expired;
    private readonly expiresAt;
    private readonly timer;
    /**
     * Start a deadline immediately, before any project setup or detection.
     * @param requestedMs - Requested total budget
     */
    constructor(requestedMs: number);
    /** Remaining whole milliseconds available to a bounded command. */
    remainingMs(): number;
    /**
     * Race one collaborator against the shared absolute deadline.
     * @param work - Lazy collaborator so expired work never starts
     * @param fallback - Value returned on timeout or collaborator failure
     * @returns Work result or fallback
     */
    run<T>(work: () => Promise<T>, fallback: T): Promise<T>;
    /** Release the deadline timer after collection finishes. */
    close(): void;
}
//# sourceMappingURL=deadline.d.ts.map