import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; export declare const protobufPackage = "xray.common.net"; export declare enum Network { Unknown = 0, TCP = 2, UDP = 3, UNIX = 4, UNRECOGNIZED = -1 } export declare function networkFromJSON(object: any): Network; export declare function networkToJSON(object: Network): string; /** NetworkList is a list of Networks. */ export interface NetworkList { $type: "xray.common.net.NetworkList"; network: Network[]; } export declare const NetworkList: 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=network.d.ts.map