import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export declare const GetApiV3MetricsBlockRateFormat: { readonly Json: "json"; readonly Csv: "csv"; }; export type GetApiV3MetricsBlockRateFormat = ClosedEnum; export type GetApiV3MetricsBlockRateRequest = { /** * Start Timestamp */ start?: number | null | undefined; /** * Subnet ID */ subnet?: string | null | undefined; /** * End Timestamp */ end?: number | null | undefined; format?: GetApiV3MetricsBlockRateFormat | undefined; /** * Step value */ step?: number | undefined; }; /** @internal */ export declare const GetApiV3MetricsBlockRateFormat$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const GetApiV3MetricsBlockRateFormat$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 GetApiV3MetricsBlockRateFormat$ { /** @deprecated use `GetApiV3MetricsBlockRateFormat$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Json: "json"; readonly Csv: "csv"; }>; /** @deprecated use `GetApiV3MetricsBlockRateFormat$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Json: "json"; readonly Csv: "csv"; }>; } /** @internal */ export declare const GetApiV3MetricsBlockRateRequest$inboundSchema: z.ZodType; /** @internal */ export type GetApiV3MetricsBlockRateRequest$Outbound = { start: number | null; subnet: string | null; end: number | null; format: string; step: number; }; /** @internal */ export declare const GetApiV3MetricsBlockRateRequest$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 GetApiV3MetricsBlockRateRequest$ { /** @deprecated use `GetApiV3MetricsBlockRateRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetApiV3MetricsBlockRateRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetApiV3MetricsBlockRateRequest$Outbound` instead. */ type Outbound = GetApiV3MetricsBlockRateRequest$Outbound; } export declare function getApiV3MetricsBlockRateRequestToJSON(getApiV3MetricsBlockRateRequest: GetApiV3MetricsBlockRateRequest): string; export declare function getApiV3MetricsBlockRateRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getapiv3metricsblockrate.d.ts.map