import BN from "bn.js"; import { AccountFlags, BalanceType, BalanceTypeDto, HealthCacheType, HealthCacheTypeDto, MarginfiAccountType, MarginfiAccountTypeDto } from "../types"; /** * Convert numeric flag to BN for Solana compatibility */ export declare function accountFlagToBN(flag: AccountFlags): BN; export declare function marginfiAccountToDto(marginfiAccount: MarginfiAccountType): MarginfiAccountTypeDto; export declare function balanceToDto(balance: BalanceType): BalanceTypeDto; export declare function healthCacheToDto(healthCache: HealthCacheType): HealthCacheTypeDto; //# sourceMappingURL=serialize.utils.d.ts.map