import { SWRConfiguration, SWRResponse } from 'swr'; import { Asset, LifiSupportedAsset, Prettify, SkipSupportedAsset } from '@leapwallet/elements-core'; import { RouteAggregator } from './use-route'; export type SkipAssetResponseType = SkipSupportedAsset[] | undefined; export type UseSkipAssetsResponse = SWRResponse; export type LifiAssetResponseType = LifiSupportedAsset[] | undefined; export type UseLifiAssetsResponse = SWRResponse; /** * Get the assets supported by the skip API for a given chain * * @param chainId * @param nativeOnly if true, only native assets will be returned * @returns list of assets supported by the skip API */ export declare const useSkipAssets: (chainId: string | undefined, options?: { nativeOnly?: boolean; includeEVMAssets?: boolean; includeCW20Assets?: boolean; includeNoMetadataAssets?: boolean; includeSVMAssets?: boolean; }) => UseSkipAssetsResponse; /** * Get the assets supported by the skip API for a given chain * * @param chainId * @param nativeOnly if true, only native assets will be returned * @returns list of assets supported by the skip API */ export declare const useAllSkipAssets: (args?: Partial<{ includeEVMAssets?: boolean; includeCW20Assets?: boolean; includeNoMetadataAssets?: boolean; includeSVMAssets?: boolean; nativeOnly?: boolean; only_testnets?: boolean; }>) => SWRResponse, any, { revalidateOnFocus: false; dedupingInterval: number; keepPreviousData: true; }>; export declare const useAllLifiAssets: (args?: Partial<{ includeEVMAssets?: boolean; includeCW20Assets?: boolean; includeNoMetadataAssets?: boolean; includeSVMAssets?: boolean; nativeOnly?: boolean; only_testnets?: boolean; }>) => SWRResponse, any, { revalidateOnFocus: false; dedupingInterval: number; }>; export type UseKadoAssetsResponse = SWRResponse>; /** * Use asset data for a list of associated assets from the Kado API * * @returns list of assets with metadata */ export declare const useKadoAssets: () => UseKadoAssetsResponse; export type UseSquidAssetsResponse = SWRResponse; /** * Get the assets supported by the skip API for a given chain * * @param chainId chain ID * @param enabled if the hook should be enabled */ export declare const useSquidAssets: (chainId: string | undefined, enabled?: boolean) => UseSquidAssetsResponse; /** * Get the assets supported by the LI.FI API for a given chain * * @param chainId * @param nativeOnly if true, only native assets will be returned * @returns list of assets supported by the LI.FI API */ export declare const useLifiAssets: (chainId: string | undefined, options?: { nativeOnly?: boolean; includeEVMAssets?: boolean; includeCW20Assets?: boolean; includeNoMetadataAssets?: boolean; includeSVMAssets?: boolean; includeUTXOAssets?: boolean; }, config?: SWRConfiguration) => UseLifiAssetsResponse; export type AggregatedAssetData = Prettify; /** * Get the assets supported by multiple liquidity aggregators * * @param chainId * @param nativeOnly if true, only native assets will be returned * @returns list of assets supported by aggregators */ export declare const useAllAggregatedAssets: (args?: Partial<{ includeEVMAssets?: boolean; includeCW20Assets?: boolean; includeNoMetadataAssets?: boolean; includeSVMAssets?: boolean; includeUTXOAssets?: boolean; nativeOnly?: boolean; only_testnets?: boolean; selectedAggregator?: RouteAggregator; }>) => SWRResponse, any, { revalidateOnFocus: false; dedupingInterval: number; }>;