import { type NativeAtomicWriteOptions } from './native-atomic-file.js'; import { type NativeLocalExecutionState, type NativePortableState } from './native-portable-types.js'; export declare function parseNativeLocalExecution(value: unknown): NativeLocalExecutionState; export declare function rebuildNativeLocalExecution(options: { portableState: NativePortableState; projectRoot: string; worktreeRoot?: string; branch?: string | null; }): NativeLocalExecutionState; export declare function readNativeLocalExecution(file: string): Promise; export declare function writeNativeLocalExecution(file: string, state: NativeLocalExecutionState, options?: NativeAtomicWriteOptions): Promise; export type NativeLocalExecutionRebuildReason = 'missing' | 'invalid' | 'version-mismatch'; export declare function readOrRebuildNativeLocalExecution(options: { file: string; portableState: NativePortableState; projectRoot: string; worktreeRoot?: string; branch?: string | null; containedRoot?: string; }): Promise<{ state: NativeLocalExecutionState; rebuilt: boolean; reason: NativeLocalExecutionRebuildReason | null; }>; //# sourceMappingURL=native-local-execution.d.ts.map