import { type NativeChildrenContract } from './native-children-contract.js'; export { NATIVE_CHILDREN_FILE, NATIVE_CHILDREN_SCHEMA, NATIVE_CHILDREN_SCHEMA_V2, NATIVE_CHILDREN_V2_SCHEMA, nativeChildrenAcceptanceValidation, nativeChildrenIndexDrift, parseNativeChildrenContract, readNativeChildrenContract, } from './native-children-contract.js'; export type { NativeChildAcceptanceIndexEntry, NativeChildDefinition, NativeChildrenContract, NativeChildrenDocument, NativeChildrenIndexDrift, NativeChildrenValidationOptions, } from './native-children-contract.js'; import type { NativePortableAcceptanceState, NativePortablePhase, NativePortableState } from './native-portable-types.js'; import type { NativeProjectPaths } from './native-types.js'; export type NativeChildDerivedStatus = 'pending' | 'ready' | 'active' | 'verified' | 'integrated' | 'archived' | 'needs-reverify' | 'done' | 'blocked'; export interface NativeChildStatusProjection { name: string; summary: string | null; dependsOn: string[]; covers: string[]; status: NativeChildDerivedStatus; phase: NativePortablePhase | null; projectRoot: string | null; message: string | null; builderFailureCount?: number; } export interface NativeChildrenInspection { schema?: NativeChildrenContract['schema']; coordinationChoiceRequired?: boolean; contractHash: string | null; confirmed: boolean; parentBranch: string | null; children: NativeChildStatusProjection[]; readyChildren: string[]; allDone: boolean; supervisorStateVersion?: number; } export interface NativeV1SupervisorParentCandidate { paths: NativeProjectPaths; state: NativePortableState; inspection: NativeChildrenInspection; } /** * Detect an explicitly recorded Supervisor Shape before children.yaml exists. * * This intentionally requires the formal Decisions section, an explicit Supervisor Change * declaration, and at least two child declarations. It does not infer coordination from brief * length, acceptance count, or ordinary task wording. */ export declare function hasNativeSupervisorShapeIntent(source: string): boolean; export declare function readNativeSupervisorShapeIntent(changeDir: string): Promise; export declare function hashNativeParentContract(options: { acceptance: readonly Pick[]; children: NativeChildrenContract; }): string; /** * Locate the unique active v1 Supervisor parent for a Child archive. v1 is * intentionally discovered from its declared children contract and current * Git binding; v2 Supervisor state is never inferred from this compatibility * path. */ export declare function findNativeV1SupervisorParents(options: { paths: NativeProjectPaths; childName: string; targetBranch: string | null; }): Promise<{ candidate: NativeV1SupervisorParentCandidate | null; blockers: string[]; }>; export declare function inspectNativeChildren(options: { paths: NativeProjectPaths; state: NativePortableState; }): Promise; //# sourceMappingURL=native-children.d.ts.map