import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; import { CallContext, CallOptions } from "nice-grpc-common"; import { ObservationResult } from "../config"; export declare const protobufPackage = "xray.core.app.observatory.command"; export interface GetOutboundStatusRequest { $type: "xray.core.app.observatory.command.GetOutboundStatusRequest"; } export interface GetOutboundStatusResponse { $type: "xray.core.app.observatory.command.GetOutboundStatusResponse"; status: ObservationResult | undefined; } export interface Config { $type: "xray.core.app.observatory.command.Config"; } export declare const GetOutboundStatusRequest: MessageFns; export declare const GetOutboundStatusResponse: MessageFns; export declare const Config: MessageFns; export type ObservatoryServiceDefinition = typeof ObservatoryServiceDefinition; export declare const ObservatoryServiceDefinition: { readonly name: "ObservatoryService"; readonly fullName: "xray.core.app.observatory.command.ObservatoryService"; readonly methods: { readonly getOutboundStatus: { readonly name: "GetOutboundStatus"; readonly requestType: MessageFns; readonly requestStream: false; readonly responseType: MessageFns; readonly responseStream: false; readonly options: {}; }; }; }; export interface ObservatoryServiceImplementation { getOutboundStatus(request: GetOutboundStatusRequest, context: CallContext & CallContextExt): Promise>; } export interface ObservatoryServiceClient { getOutboundStatus(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; } 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 {};