export type SequencedEvent<T extends object> = T & {
    seq: number;
};
export interface EventReplayBufferOptions {
    capacity?: number;
}
export declare class EventReplayBuffer<T extends object> {
    private readonly capacity;
    private nextSeq;
    private events;
    constructor(options?: EventReplayBufferOptions);
    append(event: T): SequencedEvent<T>;
    replayAfter(seq?: number): Array<SequencedEvent<T>>;
    latestSeq(): number;
}
//# sourceMappingURL=event-buffer.d.ts.map