import { Signal } from "badmfck-signal"; import { APIServiceOptions } from "../APIService"; import { BaseEndpoint } from "../BaseEndpoint"; import { HTTPRequestVO, TransferPacketVO } from "../structures/Interfaces"; import { TMonitorCapability } from "./MonitorAuth"; export interface IUserAction { action: string; } export declare const S_MONITOR_REGISTRATE_ACTION: Signal; export interface IRestartRequest { by: string; name: string | null; pmId: string | null; } export declare const S_MONITOR_RESTART_REQUESTED: Signal; export declare class Monitor extends BaseEndpoint { ignoreHttpLogging: boolean; ignoreInDocumentation: boolean; indexHtmlFile: string | null; apiServiceOptions: APIServiceOptions; fileParsed: boolean; lastTimeCacheChecked: number; constructor(options: APIServiceOptions); loadHTMLFile(): Promise; html(req: HTTPRequestVO): Promise; controllers(req: HTTPRequestVO): Promise; changeLogLevel(req: HTTPRequestVO): Promise; logs(req: HTTPRequestVO): Promise; netlog(req: HTTPRequestVO): Promise; outgoingNetlog(req: HTTPRequestVO): Promise; sysinfo(req: HTTPRequestVO): Promise; procinfo(req: HTTPRequestVO): Promise; fdreport(req: HTTPRequestVO): Promise; login(req: HTTPRequestVO): Promise; enroll2fa(req: HTTPRequestVO): Promise; logout(req: HTTPRequestVO): Promise; restart(req: HTTPRequestVO): Promise; httpstats(req: HTTPRequestVO): Promise; inventory(req: HTTPRequestVO): Promise; metrics(req: HTTPRequestVO): Promise; threats(req: HTTPRequestVO): Promise; logfiles(req: HTTPRequestVO): Promise; logtail(req: HTTPRequestVO): Promise; metricsWeeks(req: HTTPRequestVO): Promise; metricsWeek(req: HTTPRequestVO): Promise; connections(req: HTTPRequestVO): Promise; db(req: HTTPRequestVO): Promise; requireAccess(req: HTTPRequestVO, capability: TMonitorCapability): Promise; checkAuthentication(req: HTTPRequestVO): Promise; }