import { Codec } from '../../types'; import { Enum, Option, Struct, Vec } from '../../codec'; import { Bytes, GenericEvent, u32, u8 } from '../../primitive'; import { Digest, Hash } from '../runtime'; /** Digest */ export declare type DigestOf = Digest; /** Struct */ export interface DispatchError extends Struct { /** Option */ readonly module: Option; /** u8 */ readonly error: u8; } /** GenericEvent */ export declare type Event = GenericEvent; /** Uint8Array & Codec */ export declare type EventId = Uint8Array & Codec; /** u32 */ export declare type EventIndex = u32; /** Struct */ export interface EventRecord extends Struct { /** Phase */ readonly phase: Phase; /** Event */ readonly event: Event; /** Vec */ readonly topics: Vec; } /** Struct */ export interface EventRecord0to76 extends Struct { /** Phase */ readonly phase: Phase; /** Event */ readonly event: Event; } /** Bytes */ export declare type Key = Bytes; /** Enum */ export interface Phase extends Enum { /** 0:: ApplyExtrinsic(u32) */ readonly isApplyExtrinsic: boolean; /** u32 */ readonly asApplyExtrinsic: u32; /** 1:: Finalization */ readonly isFinalization: boolean; }