import { type BootstrapErrorContext } from "./bootstrap-error.js"; /** Pause between reconnect attempts once the quick retries are spent. */ export declare const BOOTSTRAP_RECONNECT_DELAYS_MS: readonly number[]; export type BootstrapWaiting = { /** * Called before each reconnect wait once the quick retries are spent and * the failure is still transient (an update, the maintenance marker or a * dropped connection). `elapsedMs` counts from the first failure. */ onWaiting: (error: unknown, elapsedMs: number) => void; }; /** * Bootstrap GETs only: initial attempt + two quick retries, never a mutation * policy. With `waiting`, a transient failure is retried until the API answers * again (an update can park it for minutes), so startup recovers by itself. */ export declare function readBootstrap(input: { request: () => Promise; context: BootstrapErrorContext; signal: AbortSignal; isCurrent?: () => boolean; waiting?: BootstrapWaiting | undefined; }): Promise;