UNPKG

stanza-extend

Version:

Modern XMPP in the browser, with a JSON API

22 lines (21 loc) 434 B
/// <reference types="node" /> import { DefinitionOptions } from '../jxt'; declare module './' { interface Message { bits?: Bits[]; } interface Presence { bits?: Bits[]; } interface IQPayload { bits?: Bits; } } export interface Bits { data?: Buffer; cid: string; maxAge?: number; mediaType?: string; } declare const Protocol: DefinitionOptions; export default Protocol;