export interface IPacket { error: string; data: any; } /** * Simple wrapper that waits for a dispatches a method reply. */ export declare class Reply { private resolve; private reject; constructor(resolve: (value: any) => void, reject: (value: any) => void); /** * Handles "reply" packet data from the websocket. */ handle(packet: IPacket): void; }