/** * Provides the canonical promise deadline engine while leaving timeout budgets * and boundary-specific error or fallback policies with each subsystem. */ export interface DeadlineOptions { timeoutMs: number; onTimeout: () => TTimeout; } /** Resolve the source promise or the boundary-owned timeout value. */ export declare function resolveAtDeadline(promise: Promise, options: DeadlineOptions): Promise; /** Reject with the boundary-owned error when the source misses its deadline. */ export declare function rejectAtDeadline(promise: Promise, options: DeadlineOptions): Promise;