import { z } from 'zod'; import { AppStoreConnectClient } from '../client.js'; import { AnalyticsReportRequest, AnalyticsReport, AnalyticsReportInstance } from '../types.js'; export declare const listAnalyticsReportRequestsSchema: z.ZodObject<{ appId: z.ZodString; }, "strip", z.ZodTypeAny, { appId: string; }, { appId: string; }>; export declare const createAnalyticsReportRequestSchema: z.ZodObject<{ appId: z.ZodString; accessType: z.ZodEnum<["ONE_TIME_SNAPSHOT", "ONGOING"]>; }, "strip", z.ZodTypeAny, { appId: string; accessType: "ONE_TIME_SNAPSHOT" | "ONGOING"; }, { appId: string; accessType: "ONE_TIME_SNAPSHOT" | "ONGOING"; }>; export declare const listAnalyticsReportsSchema: z.ZodObject<{ requestId: z.ZodString; category: z.ZodOptional>; }, "strip", z.ZodTypeAny, { requestId: string; category?: "APP_USAGE" | "APP_STORE_ENGAGEMENT" | "COMMERCE" | "FRAMEWORK_USAGE" | "PERFORMANCE" | undefined; }, { requestId: string; category?: "APP_USAGE" | "APP_STORE_ENGAGEMENT" | "COMMERCE" | "FRAMEWORK_USAGE" | "PERFORMANCE" | undefined; }>; export declare const listAnalyticsReportInstancesSchema: z.ZodObject<{ reportId: z.ZodString; granularity: z.ZodOptional>; limit: z.ZodOptional; }, "strip", z.ZodTypeAny, { reportId: string; limit?: number | undefined; granularity?: "DAILY" | "WEEKLY" | "MONTHLY" | undefined; }, { reportId: string; limit?: number | undefined; granularity?: "DAILY" | "WEEKLY" | "MONTHLY" | undefined; }>; export declare const getAnalyticsReportSegmentsSchema: z.ZodObject<{ instanceId: z.ZodString; }, "strip", z.ZodTypeAny, { instanceId: string; }, { instanceId: string; }>; export declare const deleteAnalyticsReportRequestSchema: z.ZodObject<{ requestId: z.ZodString; }, "strip", z.ZodTypeAny, { requestId: string; }, { requestId: string; }>; export declare function listAnalyticsReportRequests(client: AppStoreConnectClient, input: z.infer): Promise<{ requests: AnalyticsReportRequest[]; total: number; }>; export declare function createAnalyticsReportRequest(client: AppStoreConnectClient, input: z.infer): Promise<{ request: AnalyticsReportRequest; }>; export declare function listAnalyticsReports(client: AppStoreConnectClient, input: z.infer): Promise<{ reports: AnalyticsReport[]; total: number; }>; export declare function listAnalyticsReportInstances(client: AppStoreConnectClient, input: z.infer): Promise<{ instances: AnalyticsReportInstance[]; total: number; }>; export declare function getAnalyticsReportSegments(client: AppStoreConnectClient, input: z.infer): Promise<{ segments: AnalyticsSegment[]; }>; export declare function deleteAnalyticsReportRequest(client: AppStoreConnectClient, input: z.infer): Promise<{ success: boolean; }>; interface AnalyticsSegment { type: 'analyticsReportSegments'; id: string; attributes: { checksum: string; sizeInBytes: number; url: string; }; } export declare function downloadAnalyticsData(client: AppStoreConnectClient, segments: AnalyticsSegment[]): Promise; export declare const ANALYTICS_CATEGORIES: { APP_USAGE: { description: string; reports: string[]; }; APP_STORE_ENGAGEMENT: { description: string; reports: string[]; }; COMMERCE: { description: string; reports: string[]; }; FRAMEWORK_USAGE: { description: string; reports: string[]; }; PERFORMANCE: { description: string; reports: string[]; }; }; export declare const analyticsTools: ({ name: string; description: string; inputSchema: { type: "object"; properties: { appId: { type: string; description: string; }; accessType?: undefined; requestId?: undefined; category?: undefined; reportId?: undefined; granularity?: undefined; limit?: undefined; instanceId?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: "object"; properties: { appId: { type: string; description: string; }; accessType: { type: string; description: string; enum: string[]; }; requestId?: undefined; category?: undefined; reportId?: undefined; granularity?: undefined; limit?: undefined; instanceId?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: "object"; properties: { requestId: { type: string; description: string; }; category: { type: string; description: string; enum: string[]; }; appId?: undefined; accessType?: undefined; reportId?: undefined; granularity?: undefined; limit?: undefined; instanceId?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: "object"; properties: { reportId: { type: string; description: string; }; granularity: { type: string; description: string; enum: string[]; }; limit: { type: string; description: string; minimum: number; maximum: number; }; appId?: undefined; accessType?: undefined; requestId?: undefined; category?: undefined; instanceId?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: "object"; properties: { instanceId: { type: string; description: string; }; appId?: undefined; accessType?: undefined; requestId?: undefined; category?: undefined; reportId?: undefined; granularity?: undefined; limit?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: "object"; properties: { requestId: { type: string; description: string; }; appId?: undefined; accessType?: undefined; category?: undefined; reportId?: undefined; granularity?: undefined; limit?: undefined; instanceId?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: "object"; properties: { appId?: undefined; accessType?: undefined; requestId?: undefined; category?: undefined; reportId?: undefined; granularity?: undefined; limit?: undefined; instanceId?: undefined; }; required?: undefined; }; })[]; export {}; //# sourceMappingURL=analytics.d.ts.map