import * as hyperliquid from '@nktkas/hyperliquid'; export type PerpTradePrechecksResult = PerpTradePrechecksResultSuccess | PerpTradePrechecksResultFailure; export interface PerpTradePrechecksResultSuccess { success: true; availableMargin: string; } export interface PerpTradePrechecksResultFailure { success: false; reason: string; availableMargin?: string; } export interface PerpTradeParams { symbol: string; } /** * Check if perpetual trade can be executed */ export declare function perpTradePrechecks({ transport, ethAddress, params, }: { transport: hyperliquid.HttpTransport; ethAddress: string; params: PerpTradeParams; }): Promise; //# sourceMappingURL=perp.d.ts.map