import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; export declare const protobufPackage = "xray.app.reverse"; export interface Control { $type: "xray.app.reverse.Control"; state: Control_State; random: Uint8Array; } export declare enum Control_State { ACTIVE = 0, DRAIN = 1, UNRECOGNIZED = -1 } export declare function control_StateFromJSON(object: any): Control_State; export declare function control_StateToJSON(object: Control_State): string; export interface BridgeConfig { $type: "xray.app.reverse.BridgeConfig"; tag: string; domain: string; } export interface PortalConfig { $type: "xray.app.reverse.PortalConfig"; tag: string; domain: string; } export interface Config { $type: "xray.app.reverse.Config"; bridgeConfig: BridgeConfig[]; portalConfig: PortalConfig[]; } export declare const Control: MessageFns; export declare const BridgeConfig: MessageFns; export declare const PortalConfig: MessageFns; export declare const Config: MessageFns; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends globalThis.Array ? globalThis.Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in Exclude]?: DeepPartial; } : Partial; export interface MessageFns { readonly $type: V; encode(message: T, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): T; fromJSON(object: any): T; toJSON(message: T): unknown; create(base?: DeepPartial): T; fromPartial(object: DeepPartial): T; } export {}; //# sourceMappingURL=config.d.ts.map