export interface CapturedRuntimeEvent {
    ts: number;
    kind: 'error' | 'unhandledrejection';
    message: string;
    stack?: string;
    source?: string;
    line?: number;
    col?: number;
}
export interface EventBuffer {
    install(): () => void;
    snapshot(): CapturedRuntimeEvent[];
    subscribe(fn: () => void): () => void;
}
export declare function createEventBuffer(): EventBuffer;
//# sourceMappingURL=event-buffer.d.ts.map