/** * Filesystem-Only ProfileSource * * A `ProfileSource` implementation that resolves profiles from FHIR * IG packages on disk — no database, no HTTP. Drop this in via * `setProfileSource(createFilesystemProfileSource(...))` to give the * standalone engine (CLI, `@records-fhir/validator` npm package) the * same profile-lookup capability the server gets from its DB-backed * source. * * Implements `findByUrl` only. The other ProfileSource methods (bulk * warmup, multi-source resolveProfile) don't apply to a pure-FS * deployment — the SDLoader's own bundled-profile + IG-package scan * already covers the bundled-warmup case, and there's no remote * canonical resolver to chain into. */ import type { ProfileSource } from './index'; export interface FilesystemProfileSourceOptions { /** * One or more directories that hold IG-package subdirectories * (each subdir is itself a `#/` folder * containing `.json` StructureDefinitions, optionally nested under * a `package/` subdir). The bundled-profile directory is the * canonical example; `~/.fhir/packages` is the other. */ packageDirs: string[]; } export declare function createFilesystemProfileSource(options: FilesystemProfileSourceOptions): ProfileSource; //# sourceMappingURL=filesystem-profile-source.d.ts.map