import { Struct } from '@chainx-v2/types/codec'; import { bool } from '@chainx-v2/types/primitive'; import { BlockHash } from '@chainx-v2/types/interfaces/chain'; /** @name CreatedBlock */ export interface CreatedBlock extends Struct { readonly hash: BlockHash; readonly aux: ImportedAux; } /** @name ImportedAux */ export interface ImportedAux extends Struct { readonly headerOnly: bool; readonly clearJustificationRequests: bool; readonly needsJustification: bool; readonly badJustification: bool; readonly needsFinalityProof: bool; readonly isNewBest: bool; } export declare type PHANTOM_ENGINE = 'engine';