///
import type { RequestInfo } from '../helper';
export declare class ApiController {
private readonly appContent;
currentVersion(): string;
info(req: RequestInfo): {
upTime: string;
version: string;
};
debug(req: RequestInfo): {
clientIp: string;
isMobile: boolean;
headers: import("http").IncomingHttpHeaders;
address: {
forwarded: string;
remoteAddress: string;
remoteFamily: string;
remotePort: number;
ips: string[];
ip: string;
};
};
csurfToken(): string;
csurfTest(): void;
regDevice(req: RequestInfo): Promise;
}