/// import * as Long from 'long'; import { LedgerStore } from './core/ledgerStore'; import { StateStore } from './core/state/stateStore'; import { Transaction } from './core/transaction'; import { LogCallback, NotificationCallback } from './event/notifyEvents'; import { Inspect } from './smartcontract/context'; import { Wallet } from './wallet'; export interface EnvironmentOptions { ledgerStore?: LedgerStore; store?: StateStore; } export interface ExecuteOptions { time?: number; tx?: Transaction; gas?: Long; randomHash?: Buffer; inspect?: Inspect; wallet?: Wallet; enableSecurity?: boolean; enableGas?: boolean; notificationCallback?: NotificationCallback; logCallback?: LogCallback; } export declare class ScEnvironment { ledgerStore: LedgerStore; store: StateStore; constructor({ ledgerStore, store }?: EnvironmentOptions); deployContract(contract: Buffer): Buffer; execute(code: Buffer, { time, tx, gas, randomHash, inspect, wallet, enableSecurity, enableGas, notificationCallback, logCallback }?: ExecuteOptions): Promise<{ result: import("./vm/types/stackItem").StackItem | undefined; notifications: import("./event/notifyEvents").NotifyEventInfo[]; logs: import("./event/notifyEvents").LogEventInfo[]; }>; }