import type { TokenCurrency } from "@ledgerhq/types-cryptoassets";
import type { SyncConfig, TokenAccount } from "@ledgerhq/types-live";
import { AssetInfo, Balance } from "@ledgerhq/coin-framework/api/types";
import { OperationCommon } from "./types";
export declare function buildSubAccounts({ accountId, allTokenAssetsBalances, syncConfig, operations, getTokenFromAsset, }: {
    accountId: string;
    allTokenAssetsBalances: Balance[];
    syncConfig: SyncConfig;
    operations: OperationCommon[];
    getTokenFromAsset?: (asset: AssetInfo) => Promise<TokenCurrency | undefined>;
}): Promise<TokenAccount[]>;
export declare function mergeSubAccounts(oldSubAccounts: Array<TokenAccount>, newSubAccounts: Array<TokenAccount>): Array<TokenAccount>;
//# sourceMappingURL=buildSubAccounts.d.ts.map