/** * Child Project — represents a nested project directory that gets built * independently and referenced from a parent as a single deployment unit. * * Lexicons create ChildProjectInstance via their own factory (e.g. `nestedStack()`). * The core build pipeline detects these and recursively builds children. */ import { DECLARABLE_MARKER, type Declarable } from "./declarable.js"; import type { BuildResult } from "./build.js"; /** * Marker symbol for child project identification. */ export declare const CHILD_PROJECT_MARKER: unique symbol; /** * A child project instance — a Declarable representing a separately-built * project directory referenced from a parent. */ export interface ChildProjectInstance extends Declarable { readonly [CHILD_PROJECT_MARKER]: true; readonly [DECLARABLE_MARKER]: true; readonly lexicon: string; readonly entityType: string; readonly kind: "resource"; readonly projectPath: string; readonly logicalName: string; readonly outputs: Record; readonly options: Record; buildResult?: BuildResult; } /** * Type guard for ChildProjectInstance. */ export declare function isChildProject(value: unknown): value is ChildProjectInstance; //# sourceMappingURL=child-project.d.ts.map