import { Curve } from './curve'; import { GroupChain } from './types'; export type ChainParams = { name: string; alias?: string; chainId: string; networkId?: string; curve: Curve; icon: string; logo?: string; group: GroupChain; isMainnet: boolean; getAddress: (pubkey: Uint8Array) => string; endpoint: Endpoint; }; export type RpcProvider = { ankr?: string; }; export type Endpoint = { https: string; wss?: string; }; export declare class Chain { readonly name: string; readonly alias: string; readonly chainId: string; readonly networkId: string; readonly curve: Curve; readonly icon: string; readonly logo: string; readonly group: GroupChain; readonly getAddress: (pubkey: Uint8Array) => string; readonly isMainnet: boolean; readonly endpoint: Endpoint; constructor({ name, alias, chainId, networkId, curve, icon, logo, group, getAddress, isMainnet, endpoint, }: ChainParams); }