import { type NativePortableMigrationTransaction } from './native-portable-migration.js'; import type { NativePortableSpecChange } from './native-portable-types.js'; import type { NativeProjectPaths } from './native-types.js'; export declare const NATIVE_PORTABLE_ARCHIVE_TRANSACTION_SCHEMA: "comet.native.archive-transaction.v4"; export interface NativePortableArchiveSpecChange extends NativePortableSpecChange { content: string | null; } export interface NativePortableArchiveTransaction { schema: typeof NATIVE_PORTABLE_ARCHIVE_TRANSACTION_SCHEMA; id: string; change: string; start_state_version: number; archive_ref: string; status: 'prepared' | 'specs-applied' | 'state-finalized' | 'report-aligned' | 'moved'; next_spec_index: number; spec_changes: NativePortableArchiveSpecChange[]; created_at: string; } export type NativePortableTransaction = { kind: 'archive'; change: string; file: string; journal: NativePortableArchiveTransaction; } | { kind: 'migration'; change: string; file: string; journal: NativePortableMigrationTransaction; }; export interface NativePortableTransactionRef { kind: NativePortableTransaction['kind']; change: string; } export declare function parseNativePortableArchiveTransaction(value: unknown): NativePortableArchiveTransaction; export declare function describeNativePortableTransactionEntry(entryName: string): NativePortableTransactionRef | null; export declare function nativePortableTransactionFile(paths: NativeProjectPaths, ref: NativePortableTransactionRef): string; export declare function readNativePortableTransactionEntry(paths: NativeProjectPaths, entryName: string): Promise; export declare function readNativePortableTransaction(paths: NativeProjectPaths, ref: NativePortableTransactionRef): Promise; export declare function listNativePortableTransactionEntryNames(paths: NativeProjectPaths): Promise; export declare function isNativePortableTransactionUnfinished(transaction: NativePortableTransaction): boolean; //# sourceMappingURL=native-portable-transactions.d.ts.map