import type { ValidationContext, ValidationIssue } from '../types'; import type { ValidationResult } from '@records-fhir/validation-types'; /** * Structural shape of the host's HAPI validation coordinator. The * full implementation lives server-side and depends on the HAPI * process pool; the engine only consumes the * `getIssuesByAspect()` lookup, so we keep the type local to avoid * pulling the coordinator's full surface (and its Java-runtime * dependencies) into the standalone package. */ interface HapiValidationCoordinator { getIssuesByAspect(resourceId: string, aspect: string): ValidationIssue[]; } export declare class MetadataValidator { private lastUpdatedValidator; private versionIdValidator; private sourceValidator; private profileValidator; private securityValidator; private tagValidator; constructor(); validate(resource: any, resourceTypeOrContext: string | ValidationContext, fhirVersion?: 'R4' | 'R5' | 'R6', coordinator?: HapiValidationCoordinator, settings?: any, profileUrl?: string): Promise; validateInternal(resource: any, resourceType: string, _fhirVersion?: 'R4' | 'R5' | 'R6', coordinator?: HapiValidationCoordinator, settings?: any, profileUrl?: string): Promise; validateProfileAccessibility(profiles: any, resourceType: string, _fhirVersion?: 'R4' | 'R5' | 'R6'): Promise; private validateMetaField; } export {}; //# sourceMappingURL=metadata-validator-refactored.d.ts.map