import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; import { TypedMessage } from "../../common/serial/typed_message"; export declare const protobufPackage = "xray.app.commander"; /** Config is the settings for Commander. */ export interface Config { $type: "xray.app.commander.Config"; /** Tag of the outbound handler that handles grpc connections. */ tag: string; /** Network address of commander grpc service. */ listen: string; /** * Services that supported by this server. All services must implement Service * interface. */ service: TypedMessage[]; } /** ReflectionConfig is the placeholder config for ReflectionService. */ export interface ReflectionConfig { $type: "xray.app.commander.ReflectionConfig"; } export declare const Config: MessageFns; export declare const ReflectionConfig: 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