import type { EventBus } from '../kernel/events.js'; import type { ChronicleContext } from './context.js'; import type { ChronicleJournal } from './journal.js'; import type { ChronicleEventInput } from './types.js'; export interface ChronicleRollupAdapterOptions { events: EventBus; journal: ChronicleJournal; context: ChronicleContext | (() => ChronicleContext); windowMs?: number; onPersistError?: ((error: unknown, event: ChronicleEventInput) => void) | undefined; } /** Converts high-frequency ephemeral signals into bounded window aggregates before persistence. */ export declare function wireRollupsToChronicle(options: ChronicleRollupAdapterOptions): () => void; //# sourceMappingURL=rollup-adapter.d.ts.map