import { DamlDate, DamlEnum, DamlGenMap, DamlRecord, DamlTextMap, DamlTimestamp, DamlUnit, DamlVariant } from "../../core/types/daml-values.js"; import { DamlNumeric } from "../../core/types/daml-numeric.js"; import { DamlParty } from "../../core/types/daml-party.js"; import { DamlTypeDescriptor, DamlTypeDescriptorRegistry, DamlValueSource } from "./daml-type-descriptor.js"; export type DamlDecodedValue = DamlUnit | boolean | bigint | DamlDate | DamlTimestamp | DamlNumeric | DamlParty | string | undefined | readonly DamlDecodedValue[] | DamlTextMap | DamlGenMap | DamlRecord | DamlVariant | DamlEnum; /** Decodes protobuf or JSON/PQS DAML values according to generated descriptors. */ export declare class DamlValueConverter { private constructor(); static decode(source: DamlValueSource, descriptor: DamlTypeDescriptor, registry: DamlTypeDescriptorRegistry, path: string): DamlDecodedValue; }