import { getMainAccount } from "@ledgerhq/coin-framework/account/index";
import { getAccountBridge } from "../bridge";
export { getReceiveFlowError, checkAccountSupported, } from "@ledgerhq/coin-framework/account/support";
export function canSend(account, parentAccount) {
    try {
        getAccountBridge(account, parentAccount).createTransaction(getMainAccount(account, parentAccount));
        return true;
    }
    catch {
        return false;
    }
}
//# sourceMappingURL=support.js.map