import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file openstatus/health/v1/health.proto. */ export declare const file_openstatus_health_v1_health: GenFile; /** * CheckRequest is the request message for health checks. * * @generated from message openstatus.health.v1.CheckRequest */ export type CheckRequest = Message<"openstatus.health.v1.CheckRequest"> & { /** * Optional service name to check. If empty, checks overall service health. * * @generated from field: string service = 1; */ service: string; }; /** * Describes the message openstatus.health.v1.CheckRequest. * Use `create(CheckRequestSchema)` to create a new message. */ export declare const CheckRequestSchema: GenMessage; /** * CheckResponse is the response message for health checks. * * @generated from message openstatus.health.v1.CheckResponse */ export type CheckResponse = Message<"openstatus.health.v1.CheckResponse"> & { /** * The serving status of the service. * * @generated from field: openstatus.health.v1.CheckResponse.ServingStatus status = 1; */ status: CheckResponse_ServingStatus; }; /** * Describes the message openstatus.health.v1.CheckResponse. * Use `create(CheckResponseSchema)` to create a new message. */ export declare const CheckResponseSchema: GenMessage; /** * ServingStatus represents the health status of the service. * * @generated from enum openstatus.health.v1.CheckResponse.ServingStatus */ export declare enum CheckResponse_ServingStatus { /** * SERVING_STATUS_UNSPECIFIED indicates an unknown status. * * @generated from enum value: SERVING_STATUS_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * SERVING_STATUS_SERVING indicates the service is healthy and serving. * * @generated from enum value: SERVING_STATUS_SERVING = 1; */ SERVING = 1, /** * SERVING_STATUS_NOT_SERVING indicates the service is not healthy. * * @generated from enum value: SERVING_STATUS_NOT_SERVING = 2; */ NOT_SERVING = 2 } /** * Describes the enum openstatus.health.v1.CheckResponse.ServingStatus. */ export declare const CheckResponse_ServingStatusSchema: GenEnum; /** * HealthService provides health check endpoints for load balancer probes. * * @generated from service openstatus.health.v1.HealthService */ export declare const HealthService: GenService<{ /** * Check returns the current serving status of the service. * * @generated from rpc openstatus.health.v1.HealthService.Check */ check: { methodKind: "unary"; input: typeof CheckRequestSchema; output: typeof CheckResponseSchema; }; }>; //# sourceMappingURL=health_pb.d.ts.map