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 ChronicleProviderAdapterOptions { events: EventBus; journal: ChronicleJournal; context: ChronicleContext | (() => ChronicleContext); onPersistError?: ((error: unknown, event: ChronicleEventInput) => void) | undefined; } /** Persist provider attempt facts without coupling the provider runner to storage. */ export declare function wireProviderAttemptsToChronicle(options: ChronicleProviderAdapterOptions): () => void; //# sourceMappingURL=provider-adapter.d.ts.map