import * as z from "zod/v4-mini"; import { OpenEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdk-validation-error.js"; import { QualityBreakdown } from "./quality-breakdown.js"; export declare const Period: { readonly Week: "week"; readonly Month: "month"; readonly Year: "year"; }; export type Period = OpenEnum; export type Range = { start: Date; end: Date; }; export type Play = { /** * Bucket start time */ date: string; count: number; }; export type Concurrent = { /** * Bucket start time */ date: string; total: number; /** * Direct play streams */ direct: number; /** * Direct stream (remux) */ directStream: number; transcode: number; }; export type ByDayOfWeek = { /** * 0 = Sunday, 6 = Saturday */ day: number; name: string; count: number; }; export type ByHourOfDay = { /** * 0-23 */ hour: number; count: number; }; export type Platform = { platform: string | null; count: number; }; export type ActivityResponse = { period: Period; range: Range; /** * Play counts bucketed over time. Engagement-based: only sessions >= 2 min. Bucket size is 6 hours for week, 1 day for month/year. */ plays: Array; /** * Peak concurrent streams per time bucket, broken down by playback type. */ concurrent: Array; /** * Play distribution across days of the week. Always 7 entries. */ byDayOfWeek: Array; /** * Play distribution across hours of the day. Always 24 entries. */ byHourOfDay: Array; /** * Session counts by client platform, sorted by count descending. */ platforms: Array; quality: QualityBreakdown; }; /** @internal */ export declare const Period$inboundSchema: z.ZodMiniType; /** @internal */ export declare const Range$inboundSchema: z.ZodMiniType; export declare function rangeFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Play$inboundSchema: z.ZodMiniType; export declare function playFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Concurrent$inboundSchema: z.ZodMiniType; export declare function concurrentFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ByDayOfWeek$inboundSchema: z.ZodMiniType; export declare function byDayOfWeekFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ByHourOfDay$inboundSchema: z.ZodMiniType; export declare function byHourOfDayFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Platform$inboundSchema: z.ZodMiniType; export declare function platformFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ActivityResponse$inboundSchema: z.ZodMiniType; export declare function activityResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=activity-response.d.ts.map