import type { AccountResponse, AccountSummary, Position } from '@lifi/perps-types'; /** * Roll an {@link AccountResponse} and its open positions up into an * {@link AccountSummary}. * * @param collateralIsGross - `true` when the collateral rows already include * margin locked in positions, so free margin is collateral minus * `marginUsed`. `false` when the collateral rows hold free margin only and * the locked portion is carried by the positions' `marginUsed`. * @public */ export declare function summarizeAccount(account: AccountResponse, positions: Position[], collateralIsGross: boolean): AccountSummary; //# sourceMappingURL=accountSummary.d.ts.map