import { PortfolioRange } from "@ledgerhq/types-live"; import { MarketItemPerformer, Order } from "./types"; export * from "./types"; export * from "./fixtures"; export type IsCurrencyAvailable = (currencyId: string, mode: "onRamp" | "offRamp") => boolean; /** * Check if a currency is available for trading (buy/sell/swap) */ export declare function isAvailableForTrading(id: string, ledgerIds: string[], isCurrencyAvailable: IsCurrencyAvailable, currenciesForSwapAllSet: Set): boolean; /** * Filter market performers by availability for trading, with fallback to original list */ export declare function filterMarketPerformersByAvailability(data: MarketItemPerformer[], isCurrencyAvailable: IsCurrencyAvailable, currenciesForSwapAllSet: Set, limit: number): MarketItemPerformer[]; export declare function getChangePercentage(data: MarketItemPerformer, range: PortfolioRange): number; export declare function getRange(range: PortfolioRange | string): "1y" | "1d" | "1w" | "1m" | undefined; /** @FIXME workaround for main tokens & also until we have asset aggregation */ export declare function dadaIdToMarketId(id: string): string; export declare const getSortParam: (order: Order, range: PortfolioRange | string) => string; //# sourceMappingURL=index.d.ts.map