/** A step that may return a value or thenable, or throw synchronously. */ export type SettlementStep = () => unknown | PromiseLike; /** * Run all steps concurrently and wait for every result, including synchronous throws. * Throw an AggregateError with recursively flattened failures and the caller's message. */ export declare function settleAll(steps: Array, message: string): Promise; /** * Run steps in order, continuing after each failure. * Throw an AggregateError with recursively flattened failures and the caller's message. */ export declare function settleSequential(steps: Array, message: string): Promise;