import type { Value } from "../../transports/grpc/generated/canton/com/daml/ledger/api/v2/value.js"; /** Maximum generated Value nesting accepted before recursive mapping becomes unsafe. */ export declare const MAX_GRPC_QUERY_VALUE_DEPTH = 256; /** Maps a verbose Ledger API value to the JSON convention used by PQS predicates and rows. */ export declare function mapGrpcQueryValue(value: Value): unknown; /** Validates a generated PartyIdString without applying those rules to ordinary Text values. */ export declare function validPartyId(value: string): string; /** Validates a generated LedgerString used specifically as a contract identifier. */ export declare function validLedgerString(value: string, name?: string): string; /** Validates a generated NameString used by identifiers, choices, and verbose value labels. */ export declare function validNameString(value: string, name?: string): string; /** Validates an Identifier module or entity name as nonempty dot-separated NameString segments. */ export declare function validDottedNameString(value: string, name?: string): string; /** Validates a generated PackageIdString without applying it to arbitrary package-name text. */ export declare function validPackageIdString(value: string, name?: string): string;