/** * Domain completeness diagnostics — product-wiring checks beyond syntax/semantics. * Surfaces half-wired owned-child models (manual FK params with no belongsTo), * one-sided relationships, and orphan entities so they fail at compile time, not in the app. */ import type { IRCommand, IREntity, IRReactionRule, IRStore, IRTenant } from './ir.js'; /** Fields legitimately child-specific or infrastructure — not parent-context propagation. */ export declare const PARENT_CONTEXT_EXCLUDED_FIELDS: Set; export type DomainCompletenessEmit = (severity: 'error' | 'warning' | 'info', message: string) => void; /** Map `disciplinaryActionId` → `DisciplinaryAction` when that entity exists. */ export declare function resolveEntityForFkField(fieldName: string, entityNames: ReadonlySet): string | null; export declare function checkDomainCompleteness(entities: IREntity[], commands: IRCommand[], stores: IRStore[], emit: DomainCompletenessEmit, reactions?: IRReactionRule[], tenant?: IRTenant): void; //# sourceMappingURL=domain-completeness.d.ts.map