export interface TokenMetadata {
    decimalPlaces: number;
    logoURI?: string;
}
export interface TokenMetadataJSON extends Omit<TokenMetadata, "decimalPlaces"> {
    decimalPlaces: number | string;
}
/**
 * Parse token metadata from a base64-encoded JSON string or a TokenMetadataJSON object, returning a TokenMetadata object.
 * @param encoded the value to parse
 * @returns the parsed TokenMetadata object
 */
export declare function decodeTokenMetadata(encoded: string | TokenMetadataJSON | TokenMetadata): TokenMetadata;
/**
 * Encodes token metadata into a base64-encoded JSON string.
 *
 * @param metadata - The token metadata to encode {@link TokenMetadata}
 * @returns The base64-encoded JSON string containing the token metadata
 */
export declare function encodeTokenMetadata(metadata: TokenMetadata | TokenMetadataJSON): string;
//# sourceMappingURL=token-metadata.d.ts.map