import { SkipSupportedAsset } from './skip-api'; export interface WalletIdentification { category: string; name: string | null; description: string | null; url: string | null; } export interface WalletIdentificationsResponse { identifications: WalletIdentification[]; } export type LeapAsset = { name: string; denom: string; decimals: number; originChainId: string; originDenom: string; trace: string; symbol: string; icon: string; isEvm: boolean; isSvm: boolean; leapChainKey?: string; coingeckoId?: string; chainId: string; isWhitelisted: boolean; marketInfo?: object; isTradable?: boolean; provider?: string; }; export type LeapAssetsAPIResponse = { assets: LeapAsset[]; }; type LeapAssetsQueryParams = { readonly leap_assets_only?: boolean; readonly skip_assets_only?: boolean; readonly native_only?: boolean; readonly chain_id?: string; readonly include_evm?: boolean; readonly include_svm?: boolean; readonly include_market_info?: boolean; readonly search?: string; readonly include_cw20?: boolean; }; export type TxRequest = { readonly feeDenomination?: string; readonly feeQuantity?: string; readonly txHash: string; readonly chainId: string; /** Whether the tx occurred on the mainnet or the testnet. */ readonly isMainnet: boolean; /** Address of the wallet performing the tx. */ readonly walletAddress: string; readonly type: string; /** * A free-form object of any additional data that might be useful for analytics. * * @example * ``` * { * fromToken: 'ujuno', * toToken: 'juno168ctmpyppk90d34p3jjy658zf5a5l3w8wk35wht6ccqj4mr0yv8s4j5awr', * fromQuantity: '10', * toQuantity: '500', * } * ``` */ readonly metadata?: object; readonly amount?: number; }; export type ElementsTxnLogArgs = { operationType: string; data: TxRequest; }; export declare class LeapApi { private static ky; private static customHeaders; static setCustomHeaders(headers: Record): void; static getCustomHeaders(): Record; static getAssets(args: LeapAssetsQueryParams): Promise<{ success: false; error: string; } | { success: true; assets: Record; }>; static getWalletIdentifications(address: string): Promise; static getEcosystemPrices(): Promise | undefined>; static logTxn(args: ElementsTxnLogArgs): Promise; } export {};