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 ChronicleToolAdapterOptions { events: EventBus; journal: ChronicleJournal; context: ChronicleContext | (() => ChronicleContext); scrubber: SecretScrubber; onPersistError?: ((error: unknown, event: ChronicleEventInput) => void) | undefined; } /** Persist the complete tool lifecycle plus resource edges discovered in results. */ export declare function wireToolsToChronicle(options: ChronicleToolAdapterOptions): () => void; //# sourceMappingURL=tool-adapter.d.ts.map