import type { AccountId, AccountIndex, RegistrationJudgement } from '@polkadot/types/interfaces'; export declare type AccountIdAndIndex = [AccountId?, AccountIndex?]; export declare type AccountIndexes = Record; export interface DeriveAccountRegistration { display?: string; displayParent?: string; email?: string; image?: string; legal?: string; other?: Record; parent?: AccountId; pgp?: string; riot?: string; twitter?: string; web?: string; judgements: RegistrationJudgement[]; } export interface DeriveAccountFlags { isCouncil: boolean; isSociety: boolean; isSudo: boolean; isTechCommittee: boolean; } export interface DeriveAccountInfo { accountId?: AccountId; accountIndex?: AccountIndex; identity: DeriveAccountRegistration; nickname?: string; } export interface DeriveHasIdentity { display?: string; hasIdentity: boolean; parentId?: string; }