import type { Address, Hex } from 'viem'; export declare function getMarketInfo(marketId: number): Promise; export declare function assertMarginModeAllowed(market: any, marginMode: string | undefined, marketId: number): string | null; export declare function resolveMarketAcc(root: Address, accountId: number, tokenId: number, marginMode: string | undefined, marketId: number): Hex; export declare function resolveCollateralSymbol(tokenId: number | undefined): Promise; export declare function resolveActivePosition(rootAddress: Address, accountId: number, marketId: number, marketAcc: Hex): Promise; export declare function snapshotActiveOrderIds(userAddress: Address, accountId: number, marketId: number): Promise>; export declare function resolveRecentOrderIdsSinceSnapshot(userAddress: Address, accountId: number, marketId: number, pre: Set, expectedCount: number): Promise; //# sourceMappingURL=_market.d.ts.map