import { RawSpwItem, SpwItemValue } from "../abstract/interfaces/internal"; import { SpwItem } from "../abstract/item"; interface HydrationContext { location: unknown; absorb(spwNode: SpwItem): SpwItem | null; } declare type HydrationInput = RawSpwItem | RawSpwItem[] | SpwItemValue; declare type HydrationOutput = SpwItem | SpwItem[] | { [k: string]: SpwItemValue; } | null; /** * * @param node * @param runtime * @param _cache */ export declare function hydrate(node: HydrationInput, runtime: HydrationContext, _cache?: Map): HydrationOutput; export {};