import * as z from "zod"; /** * OPA service is not healthy. If the bundles option is specified this can mean any of the configured bundles have not yet been activated. If the plugins option is specified then at least one plugin is in a non-OK state. */ export type UnhealthyServerData = { code: string; error?: string | undefined; message?: string | undefined; }; /** * OPA service is not healthy. If the bundles option is specified this can mean any of the configured bundles have not yet been activated. If the plugins option is specified then at least one plugin is in a non-OK state. */ export declare class UnhealthyServer extends Error { code: string; error?: string | undefined; /** The original data that was passed to this error instance. */ data$: UnhealthyServerData; constructor(err: UnhealthyServerData); } /** @internal */ export declare const UnhealthyServer$inboundSchema: z.ZodType; /** @internal */ export type UnhealthyServer$Outbound = { code: string; error?: string | undefined; message?: string | undefined; }; /** @internal */ export declare const UnhealthyServer$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace UnhealthyServer$ { /** @deprecated use `UnhealthyServer$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `UnhealthyServer$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `UnhealthyServer$Outbound` instead. */ type Outbound = UnhealthyServer$Outbound; } //# sourceMappingURL=unhealthyserver.d.ts.map