export interface APIOptions { secure: boolean; host: string; port: number; path: string; key: string; } export declare class API { private readonly _options; constructor(_options: APIOptions); private _buildUrl; /** Get a unique ID from the server via XHR and initialize with it. */ retrieveId(): Promise; /** @deprecated */ listAllPeers(): Promise; }