export declare const TIF_MAP: { readonly GTC: 0; readonly IOC: 1; readonly FOK: 2; readonly ALO: 3; readonly SOFT_ALO: 4; }; export declare const RESTING_TIFS: ReadonlySet; export type TifWireCode = (typeof TIF_MAP)[keyof typeof TIF_MAP]; export declare const SIDE_MAP: { readonly LONG: 0; readonly SHORT: 1; }; export type SideWireCode = (typeof SIDE_MAP)[keyof typeof SIDE_MAP]; export declare function sideLabelFromWire(code: unknown): SideStr | undefined; export type SideStr = 'LONG' | 'SHORT'; export type TifStr = 'GTC' | 'IOC' | 'FOK' | 'ALO' | 'SOFT_ALO'; export declare function tryBigInt(x: unknown): bigint | undefined; export declare function tifString(orderType: string, override?: TifStr): TifStr; export declare function flipSideString(side: SideStr): SideStr; export declare function computeDefaultSlippage(market: any): number; export declare function limitAprWarning(limitApr: number | undefined): string | undefined; //# sourceMappingURL=_helpers.d.ts.map