export declare enum TracerType { STRUCT = "struct", REVERT = "revert", CALL = "call", STACKUPCOL = "stackupcol", STACKUPEXE = "stackupexe" } export interface TraceConfig { tracer?: string; timeout?: string; withContext?: boolean; limit?: string; } export interface TraceConfigAPI { disableMemory?: boolean; disableStack?: boolean; disableStorage?: boolean; limit?: number; tracer?: string | null; timeout?: string; loggerTimeout?: string; } export declare function resolveTracer(tracer?: string): { tracerType: TracerType; tracerArg: null; } | { tracerType: TracerType; tracerArg: string; }; export declare function resolveTraceConfig(config: TraceConfig): TraceConfigAPI; export declare function traceCall(unsignedTx: any, block: string, config: TraceConfig): Promise; export declare function traceTx(txid: any, config: TraceConfig): Promise; export declare function formatTrace(trace: any, tracer: string): void; export interface StructLog { pc: number; op: string; gas: number; gasCost: number; computation?: number; computationCost?: number; depth: number; } export interface StructTrace { gas: number; failed: boolean; returnValue: string; structLogs: StructLog[]; } export declare function formatStructTrace(trace: StructTrace): void; export interface CallFrame { type: string; from: string; to: string; value: string; gas: string; gasUsed: string; input: string; output: string; error?: string; revertReason?: string; reverted?: { contract: string; message: string; }; calls?: CallFrame[]; } export declare function formatCallTrace(trace: CallFrame, depth?: number): void; export declare function formatRevertTrace(trace: string): void; //# sourceMappingURL=trace.d.ts.map