import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; export declare const protobufPackage = "xray.core.app.observatory.burst"; export interface Config { $type: "xray.core.app.observatory.burst.Config"; /** @Document The selectors for outbound under observation */ subjectSelector: string[]; pingConfig: HealthPingConfig | undefined; } export interface HealthPingConfig { $type: "xray.core.app.observatory.burst.HealthPingConfig"; /** * destination url, need 204 for success return * default https://connectivitycheck.gstatic.com/generate_204 */ destination: string; /** connectivity check url */ connectivity: string; /** health check interval, int64 values of time.Duration */ interval: number; /** sampling count is the amount of recent ping results which are kept for calculation */ samplingCount: number; /** ping timeout, int64 values of time.Duration */ timeout: number; /** http method to make request */ httpMethod: string; } export declare const Config: MessageFns; export declare const HealthPingConfig: 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 {};