import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; import { ServerEndpoint } from "../../common/protocol/server_spec"; import { User } from "../../common/protocol/user"; export declare const protobufPackage = "xray.proxy.hysteria"; export interface Account { $type: "xray.proxy.hysteria.Account"; password: string; } export interface ClientConfig { $type: "xray.proxy.hysteria.ClientConfig"; version: number; server: ServerEndpoint | undefined; } export interface ServerConfig { $type: "xray.proxy.hysteria.ServerConfig"; version: number; users: User[]; } export declare const Account: MessageFns; export declare const ClientConfig: MessageFns; export declare const ServerConfig: 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