import { REQUEST_ENCODE_FORMAT_MAP } from '../ts-config'; export declare enum TsSystemAccountAddress { BURN_ADDR = "0" } export declare enum TsSecondOrderType { BUY = "0", SELL = "1" } export declare enum TsTxType { NOOP = "0", REGISTER = "1", DEPOSIT = "2", FORCE_WITHDRAW = "3", TRANSFER = "4", WITHDRAW = "5", AUCTION_LEND = "6", AUCTION_BORROW = "7", AUCTION_START = "8", AUCTION_MATCH = "9", AUCTION_END = "10", SECOND_LIMIT_ORDER = "11", SECOND_LIMIT_START = "12", SECOND_LIMIT_EXCHANGE = "13", SECOND_LIMIT_END = "14", SECOND_MARKET_ORDER = "15", SECOND_MARKET_EXCHANGE = "16", SECOND_MARKET_END = "17", ADMIN_CANCEL_ORDER = "18", USER_CANCEL_ORDER = "19", INCREASE_EPOCH = "20", CREATE_TSB_TOKEN = "21", REDEEM = "22", WITHDRAW_FEE = "23", EVACUATION = "24", SET_ADMIN_TS_ADDR = "25", CHANGE_PUBLIC_KEY = "26" } export type TsTokenId = string; export declare const ETH_TOKEN_ID: TsTokenId; export declare const TS_SYSTEM_DECIMALS = 8; export type TsTokenType = { tokenId: TsTokenId; name: string; symbol: string; decimals: number; }; export type LiquidationFactorType = { ltvThreshold: number; liquidatorIncentive: number; protocolPenalty: number; decimals: number; ltvRatio: number; }; export interface TsTokenInfo { amount: bigint; lockAmt: bigint; } export type TsTxRequestDataType = [ bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint ]; export type TsTxRequestStringMessageType = [ string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string ]; export type TsTokenLeafEncodeType = [bigint, bigint]; export type TsAccountLeafEncodeType = [bigint, bigint, bigint]; export type TsOrderLeafEncodeType = [ bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint ]; export type TsFeeLeafEncodeType = [bigint]; export type RequestName = keyof typeof REQUEST_ENCODE_FORMAT_MAP;