import type { BootstrapWriteBoundary } from "../io/bootstrap-write-boundary.js"; import { type VerifiedInitOwnership } from "./init-ownership.js"; export type BootstrapInitOwnershipChanges = { readonly harness: boolean; readonly openCode: boolean; readonly profile: boolean; }; export type BootstrapInitOwnershipContext = { readonly kind: "attach-fresh-staging"; readonly projectRealPath: string; } | { readonly kind: "attach-repair-staging"; readonly projectRealPath: string; } | { readonly kind: "current-project"; }; export declare function prepareBootstrapInitOwnership(boundary: BootstrapWriteBoundary, changes: BootstrapInitOwnershipChanges, context: BootstrapInitOwnershipContext): VerifiedInitOwnership; export declare function finalizeBootstrapInitOwnership(boundary: BootstrapWriteBoundary, verified: VerifiedInitOwnership, changes: BootstrapInitOwnershipChanges, context: BootstrapInitOwnershipContext): void;