import { z } from 'zod'; import { AppStoreConnectClient } from '../client.js'; import { DiagnosticSignature, PerfPowerMetric, Build } from '../types.js'; export declare const getPerfPowerMetricsSchema: z.ZodObject<{ appId: z.ZodString; metricType: z.ZodOptional>; platform: z.ZodOptional>; }, "strip", z.ZodTypeAny, { appId: string; platform?: "IOS" | "MAC_OS" | undefined; metricType?: "DISK" | "HANG" | "BATTERY" | "LAUNCH" | "MEMORY" | "ANIMATION" | "TERMINATION" | undefined; }, { appId: string; platform?: "IOS" | "MAC_OS" | undefined; metricType?: "DISK" | "HANG" | "BATTERY" | "LAUNCH" | "MEMORY" | "ANIMATION" | "TERMINATION" | undefined; }>; export declare const getDiagnosticSignaturesSchema: z.ZodObject<{ buildId: z.ZodString; diagnosticType: z.ZodOptional>; limit: z.ZodOptional; }, "strip", z.ZodTypeAny, { buildId: string; limit?: number | undefined; diagnosticType?: "DISK_WRITES" | "HANGS" | "LAUNCHES" | undefined; }, { buildId: string; limit?: number | undefined; diagnosticType?: "DISK_WRITES" | "HANGS" | "LAUNCHES" | undefined; }>; export declare const getDiagnosticLogsSchema: z.ZodObject<{ signatureId: z.ZodString; limit: z.ZodOptional; }, "strip", z.ZodTypeAny, { signatureId: string; limit?: number | undefined; }, { signatureId: string; limit?: number | undefined; }>; export declare const getBetaAppLocalizationsSchema: z.ZodObject<{ appId: z.ZodString; }, "strip", z.ZodTypeAny, { appId: string; }, { appId: string; }>; interface DiagnosticLog { type: 'diagnosticLogs'; id: string; attributes: { diagnostic: string; }; } export declare function getPerfPowerMetrics(client: AppStoreConnectClient, input: z.infer): Promise<{ metrics: PerfPowerMetric[]; total: number; }>; export declare function getDiagnosticSignatures(client: AppStoreConnectClient, input: z.infer): Promise<{ signatures: DiagnosticSignature[]; total: number; }>; export declare function getDiagnosticLogs(client: AppStoreConnectClient, input: z.infer): Promise<{ logs: DiagnosticLog[]; }>; export declare function getLatestBuilds(client: AppStoreConnectClient, appId: string, limit?: number): Promise<{ builds: Build[]; }>; export declare const METRIC_TYPES: { DISK: { description: string; importance: string; }; HANG: { description: string; importance: string; }; BATTERY: { description: string; importance: string; }; LAUNCH: { description: string; importance: string; }; MEMORY: { description: string; importance: string; }; ANIMATION: { description: string; importance: string; }; TERMINATION: { description: string; importance: string; }; }; export declare const DIAGNOSTIC_TYPES: { DISK_WRITES: { description: string; actionable: string; }; HANGS: { description: string; actionable: string; }; LAUNCHES: { description: string; actionable: string; }; }; export declare function summarizeDiagnostics(signatures: DiagnosticSignature[]): { totalSignatures: number; byType: Record; topIssues: { signature: string; weight: number; type: string; }[]; }; export declare const diagnosticsTools: ({ name: string; description: string; inputSchema: { type: "object"; properties: { appId: { type: string; description: string; }; metricType: { type: string; description: string; enum: string[]; }; platform: { type: string; description: string; enum: string[]; }; buildId?: undefined; diagnosticType?: undefined; limit?: undefined; signatureId?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: "object"; properties: { buildId: { type: string; description: string; }; diagnosticType: { type: string; description: string; enum: string[]; }; limit: { type: string; description: string; minimum: number; maximum: number; }; appId?: undefined; metricType?: undefined; platform?: undefined; signatureId?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: "object"; properties: { signatureId: { type: string; description: string; }; limit: { type: string; description: string; minimum: number; maximum: number; }; appId?: undefined; metricType?: undefined; platform?: undefined; buildId?: undefined; diagnosticType?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: "object"; properties: { appId?: undefined; metricType?: undefined; platform?: undefined; buildId?: undefined; diagnosticType?: undefined; limit?: undefined; signatureId?: undefined; }; required?: undefined; }; })[]; export {}; //# sourceMappingURL=diagnostics.d.ts.map