export { ASSET_NAME_LABEL, HANDLE_POLICY_STANDARD, HANDLE_POLICY_DEMI, HANDLE_POLICY_IDS, isHandlePolicy, } from "./policies.js"; /** Asset-name hex → human handle string. Strips a leading CIP-68 222/444 label, then UTF-8 decodes. */ export declare function getHandleNameFromHex(assetNameHex: string): string; /** A handle token held by the wallet. */ export interface HandleAsset { policyId: string; assetNameHex: string; name: string; quantity: bigint; isDeMi: boolean; } /** Resolve the handles held in a wallet from its CIP-30 `getBalance()` CBOR (hex). */ export declare function resolveWalletHandles(balanceCborHex: string | null | undefined): HandleAsset[]; /** Resolve handles from an array of CIP-30 `getUtxos()` CBOR strings (hex), de-duplicated. */ export declare function resolveHandlesFromUtxos(utxoCborHexes: readonly string[]): HandleAsset[]; /** * Pick the default/current handle from a resolved list. Prefers `preferred` (e.g. the * last-remembered handle) when it's still present, else the first handle. */ export declare function chooseDefaultHandle(handles: readonly HandleAsset[], preferred?: string | null): string | null; //# sourceMappingURL=handles.d.ts.map