import type { HsonNode, JsonValue } from "../../core/types.js"; import type { BinaryDecodeOptions, HsonTransformSource, TransformOutput } from "./transform.types.js"; import { type HsonNumber } from "./hson-calc.js"; export interface HsonTransformFacade { calc(value: number | (() => number)): HsonNumber; fromHson(input: string): HsonTransformSource; fromBinary(input: Uint8Array, options?: BinaryDecodeOptions): TransformOutput; fromJson(input: string | JsonValue): TransformOutput; fromNode(node: HsonNode): TransformOutput; fromTrustedHtml(input: string): TransformOutput; fromUntrustedHtml(input: string): TransformOutput; } /** * Canonical DOM-free transformation facade. * * Its HTML constructors accept strings only and use the synchronous universal * parser. The complete `hson` umbrella retains browser-node overloads. */ export declare const hsonTransform: HsonTransformFacade; //# sourceMappingURL=transform.facade.d.ts.map