UNPKG
@vlad8096/stanza
Version:
latest (12.15.0)
12.15.0
Modern XMPP in the browser, with a JSON API
stanzajs.org
legastero/stanza
@vlad8096/stanza
/
plugins
/
command.d.ts
9 lines
(8 loc)
•
247 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
{
Agent
}
from
'../'
;
import
{
DiscoItemsResult
}
from
'../protocol'
;
declare
module
'../'
{
interface
Agent
{
getCommands
(
jid
?:
string
):
Promise
<
DiscoItemsResult
>; } }
export
default
function
(
client
:
Agent
):
void
;