import { type Database } from "../database.js"; /** Read only provenance for the already-scoped canonical history rows. */ export declare function readSubscriptionHistoryProvenance(db: Database, workspaceId: string, sessionId: string, historyIds: readonly string[]): Promise<{ turnByHistoryId: Map; turnMetadata: Map; }>; /** Called under recovery's turn write fence, before closing the attempt. * No provider/registry filter: removed-source unknown outcomes still block. * Media/probe requests are not model outcomes. Nothing is settled by this read. */ export declare function assertSubscriptionServingRecoverySettledTx(tx: Database, scope: { accountId: string; workspaceId: string; sessionId: string; turnId: string; }): Promise;