import { UserPositionExtended } from "../interfaces";
import BigNumber from "bignumber.js";
import { OnChainCallResponse } from "../types";
export declare class Transaction {
    static getStatus(tx: OnChainCallResponse): any;
    static getErrorCode(tx: OnChainCallResponse): number | undefined;
    static getError(tx: OnChainCallResponse, errorCodes?: {
        [key: string]: string;
    }): string;
    static getDryRunErrorCode(error: string): number;
    static getDryRunError(error: string): string;
    static getTxNumber(error: string): number;
    static getEvents(tx: OnChainCallResponse, eventName?: string): Array<any>;
    static getCreatedObjectIDs(tx: OnChainCallResponse, onlyShared?: boolean): string[];
    static getAllMutatedObjectIDs(tx: OnChainCallResponse): string[];
    static getMutatedObjectsUsingType(tx: OnChainCallResponse, type: string): string[];
    static getObjectsFromEvents(tx: OnChainCallResponse, list: string, objectType: string): object[];
    static getAccountPosition(tx: OnChainCallResponse, address: string): UserPositionExtended;
    static getAccountPNL(tx: OnChainCallResponse, address: string): BigNumber;
    static getAccountBankBalance(tx: OnChainCallResponse, address: string): BigNumber;
    static getBankAccountID(tx: OnChainCallResponse): string;
    static getTxGasCost(tx: OnChainCallResponse): number;
}
