import { type NativeCheckPlan } from './native-check-executor.js'; import { type NativeSupervisorIntegrationCheck, type NativeSupervisorState } from './native-supervisor-model.js'; import type { CometProjectConfig, NativeProjectPaths } from './native-types.js'; import { type PreparedNativeWorkspace } from './native-workspace-preparation.js'; export declare function nativeSupervisorIntegrationBranch(parent: string): string; export declare function nativeSupervisorIntegrationWorktree(projectRoot: string, parent: string): string; export declare function nativeSupervisorChildWorktree(projectRoot: string, parent: string, child: string): string; export declare function prepareNativeSupervisorIntegrationWorkspace(options: { projectRoot: string; parent: string; targetBranch: string; sourceConfig: CometProjectConfig | null; }): Promise; export declare function prepareNativeSupervisorChildWorkspace(options: { projectRoot: string; parent: string; child: string; targetBranch: string; sourceConfig: CometProjectConfig | null; }): Promise; export declare function refreshNativeSupervisorBuilderWorkspace(workspaceRoot: string, expectedBranch: string, integrationHead: string): void; export declare function assertNativeSupervisorIntegrationWorkspace(state: NativeSupervisorState): string; export declare function assertNativeSupervisorVerifierWorkspace(workspaceRoot: string, expectedBranch: string, expectedCommit: string): void; /** * Merge one verified Child into the dedicated integration worktree. * * Git is the source of truth for the resulting integration commit. A failed * merge deliberately leaves the worktree in place for diagnosis and does not * advance the persisted Supervisor state. */ export declare function integrateNativeSupervisorChildWorkspace(options: { paths: NativeProjectPaths; state: NativeSupervisorState; name: string; checks: NativeSupervisorIntegrationCheck[]; checkPlans?: NativeCheckPlan[]; retryCheckIds?: readonly string[]; }): Promise; /** * Bring a drifted target into the isolated integration branch. The target is * never modified here; the caller must rerun parent checks before delivery. */ export declare function assertNativeSupervisorTargetUnchanged(projectRoot: string, state: NativeSupervisorState): string; export declare function refreshNativeSupervisorTarget(options: { paths: NativeProjectPaths; state: NativeSupervisorState; }): Promise; export declare function finalizeNativeSupervisorDeliveryLocked(options: { paths: NativeProjectPaths; state: NativeSupervisorState; archiveOwnedPaths?: readonly string[]; }): Promise<{ state: NativeSupervisorState; targetRoot: string; targetCommit: string; }>; export declare function finalizeNativeSupervisorDelivery(options: { paths: NativeProjectPaths; state: NativeSupervisorState; }): Promise<{ state: NativeSupervisorState; targetRoot: string; targetCommit: string; }>; //# sourceMappingURL=native-supervisor-workspace.d.ts.map