/** * StructureDefinition Loader - Embedder-Provided Profile Source * * Forwards profile-by-URL lookups to whatever ProfileSource the embedder * installed via `setProfileSource()`. Default = noop (returns null), so * the engine works fine in standalone (CLI / npm-package) contexts where * no database-backed source is available. * * Historically this file lazy-imported the server's `ProfileCache` * directly; that coupling now lives at `persistence/index.ts` where * embedders inject their implementation. */ import type { StructureDefinition } from './structure-definition-types'; import { type ProfileSourceContext } from '../persistence'; /** * Look up a profile in the embedder-provided ProfileSource. * @param url - Profile canonical URL * @param dbCacheNotFound - Negative cache set * @param fhirVersion - FHIR version to filter by (prevents R5 defs being returned for R4 validation) */ export declare function checkDatabaseCache(url: string, dbCacheNotFound: Set, fhirVersion?: 'R4' | 'R5' | 'R6', context?: ProfileSourceContext): Promise; //# sourceMappingURL=sd-loader-db-cache.d.ts.map