import { ClosedEnum } from "../../types/enums.js"; import * as z from "zod"; export declare const ConsoleV1MetricsControllerGenReadMetricStatus: { readonly FourHundredAndOne: 401; }; export type ConsoleV1MetricsControllerGenReadMetricStatus = ClosedEnum; /** * This endpoint only accepts an active CONSOLE key, but an invalid key was sent. Key: console-xxxXXXxxxXXXxxx */ export type ConsoleV1MetricsControllerGenReadMetricResponseBodyData = { status: ConsoleV1MetricsControllerGenReadMetricStatus; message: string; }; /** * This endpoint only accepts an active CONSOLE key, but an invalid key was sent. Key: console-xxxXXXxxxXXXxxx */ export declare class ConsoleV1MetricsControllerGenReadMetricResponseBody extends Error { status: ConsoleV1MetricsControllerGenReadMetricStatus; /** The original data that was passed to this error instance. */ data$: ConsoleV1MetricsControllerGenReadMetricResponseBodyData; constructor(err: ConsoleV1MetricsControllerGenReadMetricResponseBodyData); } /** @internal */ export declare const ConsoleV1MetricsControllerGenReadMetricStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ConsoleV1MetricsControllerGenReadMetricStatus$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace ConsoleV1MetricsControllerGenReadMetricStatus$ { /** @deprecated use `ConsoleV1MetricsControllerGenReadMetricStatus$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly FourHundredAndOne: 401; }>; /** @deprecated use `ConsoleV1MetricsControllerGenReadMetricStatus$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly FourHundredAndOne: 401; }>; } /** @internal */ export declare const ConsoleV1MetricsControllerGenReadMetricResponseBody$inboundSchema: z.ZodType; /** @internal */ export type ConsoleV1MetricsControllerGenReadMetricResponseBody$Outbound = { status: number; message: string; }; /** @internal */ export declare const ConsoleV1MetricsControllerGenReadMetricResponseBody$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 ConsoleV1MetricsControllerGenReadMetricResponseBody$ { /** @deprecated use `ConsoleV1MetricsControllerGenReadMetricResponseBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ConsoleV1MetricsControllerGenReadMetricResponseBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ConsoleV1MetricsControllerGenReadMetricResponseBody$Outbound` instead. */ type Outbound = ConsoleV1MetricsControllerGenReadMetricResponseBody$Outbound; } //# sourceMappingURL=consolev1metricscontrollergenreadmetric.d.ts.map