import type { ValidationIssue } from '../types'; import type { Binding } from '../core/structure-definition-types'; import type { TerminologyResolutionConfig, CodeBindingOutcome } from './valueset-types'; import { type BindingStrength } from './valueset-display-utils'; import { type FhirVersion } from './valueset-expansion-cache-key'; import type { ValueSetCache } from './valueset-cache'; import type { ValueSetPackageLoader } from './valueset-package-loader'; export type ValidateBindingOptions = { valueSetUrl?: string; profileUrl?: string; fhirVersion?: FhirVersion; }; /** * Collaborators the binding-validation flow needs from ValueSetValidator, * passed explicitly so this module stays free of the validator's other state. */ export interface BindingValidationDeps { resolutionConfig: TerminologyResolutionConfig; cache: ValueSetCache; packageLoader: ValueSetPackageLoader; resolveCodeBindingForBinding(code: string, system: string | undefined, valueSetUrl: string, bindingStrength: BindingStrength, fhirVersion?: FhirVersion, elementPath?: string): Promise; } /** * Validate a coded element against its binding. */ export declare function validateBinding(deps: BindingValidationDeps, code: any, binding: Binding | undefined, elementPath: string, options?: ValidateBindingOptions): Promise; //# sourceMappingURL=valueset-binding-validator.d.ts.map