import type { AccountIdParams } from "@ledgerhq/types-live"; import type { TokenCurrency } from "../types"; export declare function safeEncodeTokenId(tokenId: string): string; export declare function safeDecodeTokenId(encodedTokenId: string): string; export declare function safeEncodeXpubOrAddress(xpubOrAddress: string): string; export declare function safeDecodeXpubOrAddress(encodedXpubOrAddress: string): string; export declare function encodeAccountId({ type, version, currencyId, xpubOrAddress, derivationMode, customData, }: AccountIdParams): string; export declare function encodeTokenAccountId(accountId: string, token: TokenCurrency): string; export declare function decodeTokenAccountIdSync(id: string): { accountId: string; tokenId: string; }; export declare function decodeTokenAccountId(id: string): Promise<{ accountId: string; token: TokenCurrency | undefined; }>; export declare function decodeAccountId(accountId: string): AccountIdParams; //# sourceMappingURL=accountId.d.ts.map