import { GunOptions, IGunInstance, _GunRoot, GunHookCallbackCreate, GunHookCallbackOpt, GunSchema, IGunChain, } from '.'; export interface IGun { = any>(options?: GunOptions): IGunInstance; new = any>(options?: GunOptions): IGunInstance; /** * Returns GUN state timestamp */ state(): number; chain: IGunChain & IGunInstance; /** * Listener for a GUN instance creation */ on( event: 'create', callback: GunHookCallbackCreate ): void; /** * Listener for a GUN options update */ on( event: 'opt', callback: GunHookCallbackOpt ): void; }