import { ActionBaseJSON, BinaryWriter, UInt160 } from '@neo-one/client-common'; import BN from 'bn.js'; import { DeserializeWireBaseOptions, DeserializeWireOptions, SerializableWire, SerializeJSONContext, SerializeWire } from '../Serializable'; import { ActionType } from './ActionType'; export interface ActionBaseAdd { readonly version?: number; readonly index: BN; readonly scriptHash: UInt160; } export interface ActionBaseAddWithType extends ActionBaseAdd { readonly type: Type; } export declare class ActionBase implements SerializableWire { static readonly VERSION = 0; static readonly deserializeActionBaseWireBase: ({ reader }: DeserializeWireBaseOptions) => { type: number; version: number; index: BN; scriptHash: UInt160; }; static deserializeWireBase(_options: DeserializeWireBaseOptions): ActionBase; static deserializeWire(options: DeserializeWireOptions): ActionBase; readonly type: Type; readonly version: number; readonly index: BN; readonly scriptHash: UInt160; readonly serializeWire: SerializeWire; constructor({ type, version, index, scriptHash }: ActionBaseAddWithType); serializeWireBase(writer: BinaryWriter): void; serializeActionBaseJSON(_context: SerializeJSONContext): ActionBaseJSON; }