import * as z from "zod/v4"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetProjectSandboxMetricsGlobals = { /** * Workspace name. Platform API keys already select a workspace; other authentication methods can configure it once on the SDK client. */ workspace?: string | undefined; }; export declare const GetProjectSandboxMetricsQueryParamRange: { readonly TwentyFourh: "24h"; readonly Sevend: "7d"; readonly Thirtyd: "30d"; }; export type GetProjectSandboxMetricsQueryParamRange = ClosedEnum; export type GetProjectSandboxMetricsRequest = { /** * Project ID or name. */ idOrName: string; range?: GetProjectSandboxMetricsQueryParamRange | undefined; }; export declare const GetProjectSandboxMetricsRangeResponse: { readonly TwentyFourh: "24h"; readonly Sevend: "7d"; readonly Thirtyd: "30d"; }; export type GetProjectSandboxMetricsRangeResponse = ClosedEnum; export type GetProjectSandboxMetricsTotals = { sessions: number; commands: number; outcomeUnknown: number; errors: number; p95LatencyMs: number | null; }; export type GetProjectSandboxMetricsTimeSery = { sessions: number; commands: number; outcomeUnknown: number; errors: number; p95LatencyMs: number | null; bucket: Date; }; export type GetProjectSandboxMetricsCustomer = { deploymentGroupId: string; externalId: string | null; sessions: number; commands: number; lastSeenAt: Date; }; export type GetProjectSandboxMetricsAvailable = { status: "available"; range: GetProjectSandboxMetricsRangeResponse; totals: GetProjectSandboxMetricsTotals; timeSeries: Array; customers: Array; customersTruncated: boolean; }; export declare const GetProjectSandboxMetricsReason: { readonly NotConfigured: "not-configured"; readonly TemporarilyUnavailable: "temporarily-unavailable"; }; export type GetProjectSandboxMetricsReason = ClosedEnum; export type GetProjectSandboxMetricsUnavailable = { status: "unavailable"; reason: GetProjectSandboxMetricsReason; }; /** * Privacy-safe Sandbox Gateway usage aggregates. */ export type GetProjectSandboxMetricsResponse = GetProjectSandboxMetricsUnavailable | GetProjectSandboxMetricsAvailable; /** @internal */ export declare const GetProjectSandboxMetricsQueryParamRange$outboundSchema: z.ZodEnum; /** @internal */ export type GetProjectSandboxMetricsRequest$Outbound = { idOrName: string; range: string; }; /** @internal */ export declare const GetProjectSandboxMetricsRequest$outboundSchema: z.ZodType; export declare function getProjectSandboxMetricsRequestToJSON(getProjectSandboxMetricsRequest: GetProjectSandboxMetricsRequest): string; /** @internal */ export declare const GetProjectSandboxMetricsRangeResponse$inboundSchema: z.ZodEnum; /** @internal */ export declare const GetProjectSandboxMetricsTotals$inboundSchema: z.ZodType; export declare function getProjectSandboxMetricsTotalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetProjectSandboxMetricsTimeSery$inboundSchema: z.ZodType; export declare function getProjectSandboxMetricsTimeSeryFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetProjectSandboxMetricsCustomer$inboundSchema: z.ZodType; export declare function getProjectSandboxMetricsCustomerFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetProjectSandboxMetricsAvailable$inboundSchema: z.ZodType; export declare function getProjectSandboxMetricsAvailableFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetProjectSandboxMetricsReason$inboundSchema: z.ZodEnum; /** @internal */ export declare const GetProjectSandboxMetricsUnavailable$inboundSchema: z.ZodType; export declare function getProjectSandboxMetricsUnavailableFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetProjectSandboxMetricsResponse$inboundSchema: z.ZodType; export declare function getProjectSandboxMetricsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getprojectsandboxmetrics.d.ts.map