import type { ChildPlan } from './child-plan.js';
export interface ValidationError {
    code: 'slug-collision-existing' | 'duplicate-child-slug' | 'parent-child-slug-collision' | 'unknown-dependency' | 'dependency-cycle' | 'unknown-foundation-child' | 'unknown-initial-active-child';
    message: string;
    slug?: string;
}
export type ValidationResult = {
    ok: true;
} | {
    ok: false;
    errors: ValidationError[];
};
export declare function validateChildPlan(plan: ChildPlan, existingSlugs: Set<string>): ValidationResult;
//# sourceMappingURL=validation.d.ts.map