import { RawBlockResponse, RawLogResponse, RawTransactionReceipt, RawTransactionResponse, RawParityLogResponse, RawBlockSlim } from '../eth/responses';
import { AddressInfo, EventData, FormattedBlock, FormattedLogEvent, FormattedPendingTransaction, FormattedTransaction, FunctionCall, PrivateTransactionPayload } from '../msgs';
export declare function parseBlockTime(timestamp: number | string): number;
export declare function formatBlock(rawBlock: RawBlockResponse | RawBlockSlim): FormattedBlock;
export declare function formatTransaction(rawTx: RawTransactionResponse, receipt: RawTransactionReceipt, fromInfo?: AddressInfo, toInfo?: AddressInfo, contractAddressInfo?: AddressInfo, call?: FunctionCall, privatePayload?: PrivateTransactionPayload): FormattedTransaction;
export declare function formatPendingTransaction(rawTx: RawTransactionResponse, type: 'pending' | 'queued', fromInfo?: AddressInfo, toInfo?: AddressInfo, call?: FunctionCall): FormattedPendingTransaction;
export declare function formatLogEvent(evt: RawLogResponse | RawParityLogResponse | FormattedLogEvent, addressInfo?: AddressInfo, event?: EventData): FormattedLogEvent;
