import type { NativePortableState } from './native-portable-types.js'; import type { NativeProjectPaths } from './native-types.js'; export interface NativePortableArchiveHooks { afterSpecApplied?: (index: number) => void | Promise; afterFinalState?: () => void | Promise; afterReportAligned?: () => void | Promise; afterMove?: () => void | Promise; afterRuntimeCleanup?: () => void | Promise; } export interface NativePortableArchiveResult { change: string; archiveDir: string; transactionId: string; state: NativePortableState; } export declare class NativePortableArchiveOrderRequiredError extends Error { readonly peers: string[]; constructor(peers: readonly string[]); } export declare function hasNativePortableArchiveRecovery(paths: NativeProjectPaths, name: string): Promise; export declare function inspectNativePortableArchive(options: { paths: NativeProjectPaths; name: string; }): Promise<{ ready: boolean; blockers: string[]; capabilityPeers: string[]; archiveDir: string; stateVersion: number; }>; export declare function archiveNativePortableChange(options: { paths: NativeProjectPaths; name: string; serialFirstChange?: string; hooks?: NativePortableArchiveHooks; }): Promise; //# sourceMappingURL=native-portable-archive.d.ts.map