import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; import { IPOrDomain } from "../../common/net/address"; import { Network } from "../../common/net/network"; export declare const protobufPackage = "xray.proxy.dokodemo"; export interface Config { $type: "xray.proxy.dokodemo.Config"; address: IPOrDomain | undefined; port: number; portMap: { [key: string]: string; }; /** List of networks that the Dokodemo accepts. */ networks: Network[]; followRedirect: boolean; userLevel: number; } export interface Config_PortMapEntry { $type: "xray.proxy.dokodemo.Config.PortMapEntry"; key: string; value: string; } export declare const Config: MessageFns; export declare const Config_PortMapEntry: 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