import type { LiteralUnion } from 'type-fest'; import type { ReferenceString } from 'noodl-types'; export interface DerefOptions { dataObject?: Record; iteratorVar?: string; path?: (string | number)[]; ref: LiteralUnion | Record | any[]; root: Record; rootKey?: string; } /** * Deeply dereferences a reference string, an array of values, or an object that contains a reference within * * @param deref options * @returns The dereferenced value */ declare function deref({ dataObject, iteratorVar, path, ref, root, rootKey, }: DerefOptions): any; export default deref;