import { AgentInfo } from "../types.js"; import { BrowserApi } from "../../browser/api.js"; export declare class Agent { /** an id derived from this agent's ip address, useful for banning people */ reputation: string; /** browser api remote functionality */ browserApi: BrowserApi; /** call this to disconnect this agent from the signaller server */ disconnect: () => void; /** id for this specific agent connection to the sparrow server */ id: string; /** all invites issued by this agent */ invites: Set; /** pubsub for exchanging ice candidates */ onIceCandidate: import("@e280/stz").Sub<[RTCIceCandidate]>; constructor( /** an id derived from this agent's ip address, useful for banning people */ reputation: string, /** browser api remote functionality */ browserApi: BrowserApi, /** call this to disconnect this agent from the signaller server */ disconnect: () => void); info(): AgentInfo; }