UNPKG

@ledgerhq/live-common

Version:
19 lines 699 B
import { AppPlatform, PlatformAccount, PlatformCurrency } from "./types"; export type FilterParams = { branches?: string[]; platform?: AppPlatform; private?: boolean; apiVersion?: string[] | string; llVersion?: string; lang?: string; }; export type AccountFilters = { currencies?: string[]; }; export declare function filterPlatformAccounts(accounts: PlatformAccount[], filters: AccountFilters): PlatformAccount[]; export type CurrencyFilters = { includeTokens?: boolean; currencies?: string[]; }; export declare function filterPlatformCurrencies(currencies: PlatformCurrency[], filters: CurrencyFilters): PlatformCurrency[]; //# sourceMappingURL=filters.d.ts.map