import {AxiosInstance} from "axios"; import { ClientSettings, DeepPartial, InboundConfig, LoginResponse, SystemStats, X3UIConfig } from "../index"; export default class X3UIClient { private client: AxiosInstance; constructor(config: X3UIConfig); login(username: string, password: string): Promise; getSystemStats(): Promise; getInbounds(): Promise; addInbound(config: Omit): Promise; addClient(id: number, client: DeepPartial): Promise; updateInbound(id: number, config: DeepPartial): Promise; deleteInbound(id: number): Promise; getInboundTraffic(id: number): Promise<{ up: number; down: number }>; resetInboundTraffic(id: number): Promise; getNewX25519Cert(): Promise<{ privateKey: string; publicKey: string }>; }