import type { ValidationIssue } from '../types'; import type { StructureDefinition } from './structure-definition-types'; import type { ReferenceResolver, ReferenceTargetValidator } from '../validators/reference-target-validator'; /** * Opt-in target-profile-conformance pass (gap P-2): for each reference whose * element declares a *profiled* targetProfile (e.g. `us-core-patient`), resolve * the target (contained / bundle entry) and validate it against that profile. * Non-conformance is surfaced as a single `warning` per (reference, profile). * * Runs one level deep only — the recursive `validateProfile` call is made with * conformance checking suppressed, so a cycle (A→B→A) cannot loop. Fails open: * an unresolvable target, a profile that cannot be loaded, or an engine error * never produces a warning. */ export declare function validateReferenceTargetProfileConformance(params: { resource: any; structureDef: StructureDefinition; referenceTargetValidator: ReferenceTargetValidator; resolveReference?: ReferenceResolver; /** Validate `target` against `profile`; returns the target's own issues. */ validateProfile: (target: any, profile: string) => Promise; }): Promise; //# sourceMappingURL=multi-aspect-target-profile-conformance.d.ts.map