export declare class OperationDeadline {
    /** Absolute deadline, epoch ms — or Infinity when no header was sent. */
    readonly deadlineTimestamp: number;
    /** The AbortSignal that fires at the deadline. Pass THIS to fetch/provider calls. */
    readonly signal: AbortSignal;
    /** @param header deadline timestamp in milliseconds from Epoch, or undefined */
    private constructor();
    /** @param header raw X-Unito-Operation-Deadline value (Unix seconds), or undefined */
    static fromHeader(deadlineInSeconds: string | number | undefined): OperationDeadline;
    static never(): OperationDeadline;
    /** @param deadlineInMs absolute deadline timestamp in epoch milliseconds */
    static fromMs(deadlineInMs: number): OperationDeadline;
    /** Fresh ms left until the deadline (≤0 = past, Infinity = no deadline). */
    timeRemaining(): number;
    /** Computes if the deadline was reached or not */
    hasPassed(): boolean;
}
