UNPKG

fhir-snapshot-generator

Version:
18 lines 813 B
/** * © Copyright Outburn Ltd. 2022-2025 All Rights Reserved * Project name: fhir-snapshot-generator */ import { ILogger } from 'fhir-package-explorer'; import { ElementDefinition } from '../../../types'; import { DefinitionFetcher } from '..'; /** * Walks the path segements up to the target, expanding child elements and creating slices as needed. * @param elements working snapshot array * @param targetElementId target element id * * @returns the updated element array after entire path to target element was added */ export declare const ensureBranch: (elements: ElementDefinition[], targetElementId: string, fetcher: DefinitionFetcher, logger: ILogger, pathRewriteMap: Map<string, { id: string; path: string; }>) => Promise<ElementDefinition[]>; //# sourceMappingURL=ensureBranch.d.ts.map