import { BlockchainTransaction } from '../blockchain/Blockchain'; import { ContractMeta } from '../meta/ContractsMeta'; import { SmartContract } from '../blockchain/SmartContract'; declare const hexBrand: unique symbol; export type HexString = string & { readonly [hexBrand]: true; }; export type MessageTestData = { readonly type: 'test-data'; readonly testInfo: TestInfo | undefined; readonly transactions: RawTransactionsInfo; readonly contracts: readonly RawContractData[]; }; export type Message = MessageTestData; export type RawTransactionsInfo = { readonly transactions: readonly RawTransactionInfo[]; }; export type RawTransactionInfo = { readonly transaction: string; readonly blockchainLogs: string; readonly vmLogs: string; readonly debugLogs: string; readonly code: string | undefined; readonly sourceMap: object | undefined; readonly contractName: string | undefined; readonly parentId: string | undefined; readonly childrenIds: string[]; readonly oldStorage: HexString | undefined; readonly newStorage: HexString | undefined; readonly callStack: string | undefined; }; export declare function serializeTransactions(transactions: BlockchainTransaction[]): RawTransactionsInfo; export type RawContractData = { readonly address: string; readonly meta: ContractMeta | undefined; readonly stateInit: HexString | undefined; readonly account: HexString | undefined; }; export declare function serializeContracts(contracts: { contract: SmartContract; meta?: ContractMeta; }[]): RawContractData[]; export type TestInfo = { readonly id?: string; readonly name?: string; readonly path?: string; }; export {};