import { Channel, Client } from 'nice-grpc'; import { ProtoShadowsocks2022Account, ProtoShadowsocksAccount, ProtoTrojanAccount, ProtoVlessAccount, ProtoVmessAccount, ProtoSocksAccount, ProtoHttpAccount } from '../../common/protos'; import { HandlerServiceDefinition } from '../../proto/app/proxyman/command/command'; import { ApiResponse, Account, ApiEmptyResponse } from '../../common/types'; import { AddUserDto } from './dto'; export declare class HandlerService { readonly client: Client; constructor(channel: Channel); getInboundUsers(tag: string): Promise>; getInboundUsersCount(tag: string): Promise>; removeUser(tag: string, username: string): Promise; addHttpUser(data: AddUserDto): Promise; addShadowsocksUser(data: AddUserDto): Promise; addShadowsocks2022User(data: AddUserDto): Promise; addSocksUser(data: AddUserDto): Promise; addTrojanUser(data: AddUserDto): Promise; addVlessUser(data: AddUserDto): Promise; addVmessUser(data: AddUserDto): Promise; private addUserOperation; }