UNPKG

@vlad8096/stanza

Version:

Modern XMPP in the browser, with a JSON API

17 lines (16 loc) 472 B
import { Agent } from '../'; import * as JXT from '../jxt'; declare module '../' { interface Agent { discoverBindings(server: string): Promise<{ [key: string]: string[]; }>; } } export declare function getHostMeta(registry: JXT.Registry, opts: string | { host?: string; json?: boolean; ssl?: boolean; xrd?: boolean; }): Promise<any>; export default function (client: Agent, stanzas: JXT.Registry): void;