import type { NativeArchivePreflight } from './native-archive-preflight.js'; import { type NativeArchiveTransactionHooksV2 } from './native-archive-transaction.js'; import { type NativeArchiveTransactionJournalV2 } from './native-transaction.js'; import type { NativeProjectPaths, NativeTransactionJournal } from './native-types.js'; type AnyArchiveTransactionJournal = NativeTransactionJournal | NativeArchiveTransactionJournalV2; export declare class NativeSpecConflictError extends Error { readonly capability: string; readonly expectedHash: string | null; readonly actualHash: string | null; readonly canonicalPath: string; readonly code = "native-spec-conflict"; constructor(capability: string, expectedHash: string | null, actualHash: string | null, canonicalPath: string); } export declare class NativeArchivePreflightError extends Error { readonly preflight: NativeArchivePreflight; readonly code = "native-archive-preflight"; constructor(preflight: NativeArchivePreflight, message?: string); } export declare function archiveNativeChange(options: { paths: NativeProjectPaths; name: string; expectedPreflightHash: string; now?: Date; hooks?: NativeArchiveTransactionHooksV2; }): Promise<{ archiveDir: string; transactionId: string; preflightHash: string; runtimeCleanupWarning: string | null; }>; export declare function recoverArchiveTransaction(options: { paths: NativeProjectPaths; transactionId: string; strategy: 'continue' | 'rollback'; }): Promise; export {}; //# sourceMappingURL=native-archive.d.ts.map