import { MapperFactory } from './mappers/index.ts'; import { Disconnect, Exchange, FilterForExchange } from './types.ts'; type MapperOutput = T extends MapperFactory ? U : never; type ReplayNormalizedMessage[], Z extends boolean> = Z extends true ? MapperOutput | Disconnect : MapperOutput; export declare function replay({ exchange, from, to, filters, skipDecoding, withDisconnects, apiKey, withMicroseconds, autoCleanup, waitWhenDataNotYetAvailable }: ReplayOptions): AsyncIterableIterator; export declare function replayNormalized[], Z extends boolean = false>({ exchange, symbols, from, to, withDisconnectMessages, apiKey, autoCleanup, waitWhenDataNotYetAvailable }: ReplayNormalizedOptions, ...normalizers: U): AsyncIterableIterator>; export type ReplayOptions = { readonly exchange: T; readonly from: string; readonly to: string; readonly filters: FilterForExchange[T][]; readonly skipDecoding?: U; readonly withDisconnects?: Z; readonly apiKey?: string; readonly withMicroseconds?: boolean; readonly autoCleanup?: boolean; readonly waitWhenDataNotYetAvailable?: boolean | number; }; export type ReplayNormalizedOptions = { readonly exchange: T; readonly symbols?: string[]; readonly from: string; readonly to: string; readonly withDisconnectMessages?: U; readonly apiKey?: string; readonly autoCleanup?: boolean; readonly waitWhenDataNotYetAvailable?: boolean | number; }; export {}; //# sourceMappingURL=replay.d.ts.map