///
import EventEmitter from "events";
type Event = "login" | "error";
declare class OpenFrp extends EventEmitter {
private session;
private authorization;
private cookie;
private readonly LoginAPI;
private readonly BaseAPI;
constructor(username: string, password: string);
get getUserInfo(): Promise