import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; export declare const protobufPackage = "xray.proxy.wireguard"; export interface PeerConfig { $type: "xray.proxy.wireguard.PeerConfig"; publicKey: string; preSharedKey: string; endpoint: string; keepAlive: number; allowedIps: string[]; } export interface DeviceConfig { $type: "xray.proxy.wireguard.DeviceConfig"; secretKey: string; endpoint: string[]; peers: PeerConfig[]; mtu: number; numWorkers: number; reserved: Uint8Array; domainStrategy: DeviceConfig_DomainStrategy; isClient: boolean; noKernelTun: boolean; } export declare enum DeviceConfig_DomainStrategy { FORCE_IP = 0, FORCE_IP4 = 1, FORCE_IP6 = 2, FORCE_IP46 = 3, FORCE_IP64 = 4, UNRECOGNIZED = -1 } export declare function deviceConfig_DomainStrategyFromJSON(object: any): DeviceConfig_DomainStrategy; export declare function deviceConfig_DomainStrategyToJSON(object: DeviceConfig_DomainStrategy): string; export declare const PeerConfig: MessageFns; export declare const DeviceConfig: 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