import { type BackoffPolicy, type ResolvedBackoffPolicy } from './backoff.js';
export interface StreamReconnectPolicy extends BackoffPolicy {
    readonly enabled?: boolean;
}
export interface ResolvedStreamReconnectPolicy extends ResolvedBackoffPolicy {
    readonly enabled: boolean;
}
export declare const DEFAULT_STREAM_RECONNECT_POLICY: ResolvedStreamReconnectPolicy;
export declare function normalizeStreamReconnectPolicy(policy?: StreamReconnectPolicy): ResolvedStreamReconnectPolicy;
export declare function getStreamReconnectDelay(attempt: number, policy: ResolvedStreamReconnectPolicy): number;
//# sourceMappingURL=reconnect.d.ts.map