import { GunDataNode, IGunChain } from '..'; import {} from '../types/gun/IGunChain'; declare module '../types/gun/IGunChain' { export interface IGunChain { /** * Could be buggy until official! * * Note: a gun chain is not promises! You must include and call `.then()` to promisify a gun * chain! */ then(): Promise>; /** * Could be buggy until official! * * `.then()` has a cousin of `.promise()` which behaves the same way except that resolved * is an object in case you need more context or metadata */ promise(): Promise<{ put: GunDataNode; get: TKey; gun: IGunChain; }>; } }