import type { EventBus } from '../kernel/events.js'; import type { SecretScrubber } from '../types/secret-scrubber.js'; import type { ChronicleContext } from './context.js'; import type { ChronicleJournal } from './journal.js'; import type { ChronicleEventInput } from './types.js'; export interface ChronicleProcessAdapterOptions { events: EventBus; journal: ChronicleJournal; context: ChronicleContext | (() => ChronicleContext); scrubber: SecretScrubber; onPersistError?: ((error: unknown, event: ChronicleEventInput) => void) | undefined; } export declare function wireProcessesToChronicle(options: ChronicleProcessAdapterOptions): () => void; //# sourceMappingURL=process-adapter.d.ts.map