import type { NativePortableAcceptanceState, NativePortablePhase, NativePortableState } from './native-portable-types.js'; import type { NativeProjectPaths } from './native-types.js'; export declare const NATIVE_CHILDREN_FILE = "children.yaml"; export declare const NATIVE_CHILDREN_SCHEMA: "comet.native.children.v1"; export declare const NATIVE_CHILDREN_SCHEMA_V2: "comet.native.children.v2"; export interface NativeChildDefinition { name: string; depends_on: string[]; covers: string[]; } export interface NativeChildAcceptanceIndexEntry { source: string; text: string; } export interface NativeChildrenContract { schema: typeof NATIVE_CHILDREN_SCHEMA | typeof NATIVE_CHILDREN_SCHEMA_V2; acceptance_index?: Record; children: NativeChildDefinition[]; } export interface NativeChildrenDocument { contract: NativeChildrenContract; size: number; } export type NativeChildDerivedStatus = 'pending' | 'ready' | 'active' | 'done' | 'blocked'; export interface NativeChildStatusProjection { name: string; dependsOn: string[]; covers: string[]; status: NativeChildDerivedStatus; phase: NativePortablePhase | null; projectRoot: string | null; message: string | null; } export interface NativeChildrenInspection { contractHash: string | null; confirmed: boolean; parentBranch: string | null; children: NativeChildStatusProjection[]; readyChildren: string[]; allDone: boolean; } export interface NativeChildrenValidationOptions { acceptanceCatalog?: readonly Pick[]; requiredAcceptanceIds?: readonly string[]; } type NativeChildrenAcceptanceState = Pick & { acceptance: readonly Pick[]; }; export declare function nativeChildrenAcceptanceValidation(state: NativeChildrenAcceptanceState): NativeChildrenValidationOptions; export declare function parseNativeChildrenContract(source: string, acceptanceIds?: readonly string[], options?: NativeChildrenValidationOptions): NativeChildrenContract; export declare function readNativeChildrenContract(options: { changeDir: string; acceptanceIds?: readonly string[]; validation?: NativeChildrenValidationOptions; }): Promise; export declare function hashNativeParentContract(options: { acceptance: readonly Pick[]; children: NativeChildrenContract; }): string; export declare function inspectNativeChildren(options: { paths: NativeProjectPaths; state: NativePortableState; }): Promise; export {}; //# sourceMappingURL=native-children.d.ts.map