import {Asset, Checksum256Type, NameType} from '@wharfkit/antelope' import {ChainDefinition} from './chains' import {ExplorerDefinition} from './explorer' import {Logo} from './logo' export type Fetch = (input: any, init?: any) => Promise export type LogoType = Logo | {dark: string; light: string} | string export type ExplorerDefinitionType = | ExplorerDefinition | {prefix: string; suffix: string; url?: (id: string) => string} export type ChainDefinitionType = | ChainDefinition | { id: Checksum256Type url: string explorer?: ExplorerDefinitionType logo?: LogoType systemTokenSymbol?: Asset.SymbolType systemTokenContract?: NameType } export type LocaleDefinitions = Record