import { type Address, type Hex } from 'viem'; /** Pack (root, accountId) into a 21-byte hex (bytes21). */ export declare function packAccount(root: Address, accountId: number): Hex; /** Pack (root, accountId, tokenId, marketId) into a 26-byte hex (bytes26). */ export declare function packMarketAcc(root: Address, accountId: number, tokenId: number, marketId: number): Hex; /** Inverse of packMarketAcc — split a 26-byte marketAcc into its components. */ export interface UnpackedMarketAcc { root: Address; accountId: number; tokenId: number; marketId: number; isCross: boolean; } export declare function unpackMarketAcc(marketAcc: string): UnpackedMarketAcc; //# sourceMappingURL=pack-account.d.ts.map