import type { ReadLedgerV3Result } from "./reader.js"; export declare const EVENT_V3_FINALIZATION_VIEW_VERSION: 1; export type FinalizationScopeV3ErrorCode = "authority_unsafe" | "instance_not_live"; export declare class FinalizationScopeV3Error extends Error { readonly code: FinalizationScopeV3ErrorCode; constructor(code: FinalizationScopeV3ErrorCode); } export interface FinalizationScopeV3 { projection_version: typeof EVENT_V3_FINALIZATION_VIEW_VERSION; contract_major: 2; instance_id: string; session_id: string; generation_id: string; lifecycle_state?: string; files_touched: string[]; source_event_id: string; source_position: { segment_ordinal: number; byte_offset: number; }; } /** Read and validate the current V3 finalization boundary for one live instance. */ export declare function readFinalizationScopeV3(coordRoot: string, instanceId: string): FinalizationScopeV3; /** Pure adapter used by replay tests and safety consumers. */ export declare function projectFinalizationScopeV3(read: ReadLedgerV3Result, instanceId: string): FinalizationScopeV3; //# sourceMappingURL=finalization-view.d.ts.map