import * as z from "zod"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; import { UsageBucket, UsageBucket$Outbound } from "./usagebucket.js"; export type UsageAnalyticsResponse = { /** * Array of time buckets containing usage data */ data: Array; /** * Pagination token for next page. Null if no more pages. */ nextPageToken?: string | null | undefined; /** * Total number of time buckets across all pages */ total: number; }; /** @internal */ export declare const UsageAnalyticsResponse$inboundSchema: z.ZodType; /** @internal */ export type UsageAnalyticsResponse$Outbound = { data: Array; next_page_token?: string | null | undefined; total: number; }; /** @internal */ export declare const UsageAnalyticsResponse$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 UsageAnalyticsResponse$ { /** @deprecated use `UsageAnalyticsResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `UsageAnalyticsResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `UsageAnalyticsResponse$Outbound` instead. */ type Outbound = UsageAnalyticsResponse$Outbound; } export declare function usageAnalyticsResponseToJSON(usageAnalyticsResponse: UsageAnalyticsResponse): string; export declare function usageAnalyticsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=usageanalyticsresponse.d.ts.map