import { APIResource } from "../../resource.js"; import * as Core from "../../core.js"; export declare class AgentReadiness extends APIResource { /** * Returns a summary of AI agent readiness scores across scanned domains, grouped * by the specified dimension. Data is sourced from weekly bulk scans. All values * are raw domain counts. * * @example * ```ts * const response = await client.radar.agentReadiness.summary( * 'CHECK', * ); * ``` */ summary(dimension: 'CHECK', query?: AgentReadinessSummaryParams, options?: Core.RequestOptions): Core.APIPromise; summary(dimension: 'CHECK', options?: Core.RequestOptions): Core.APIPromise; } export interface AgentReadinessSummaryResponse { meta: AgentReadinessSummaryResponse.Meta; summary_0: { [key: string]: string; }; } export declare namespace AgentReadinessSummaryResponse { interface Meta { /** * Date of the returned scan (YYYY-MM-DD). May differ from the requested date if no * scan exists for that exact date. */ date: string; /** * Available domain sub-categories with their scan counts. Use as filter options * for the domainCategory parameter. */ domainCategories: Array; /** * Timestamp of the last dataset update. */ lastUpdated: string; /** * Normalization method applied to the results. Refer to * [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/). */ normalization: 'PERCENTAGE' | 'MIN0_MAX' | 'MIN_MAX' | 'RAW_VALUES' | 'PERCENTAGE_CHANGE' | 'ROLLING_AVERAGE' | 'OVERLAPPED_PERCENTAGE' | 'RATIO'; /** * Domains successfully scanned (excludes errors). */ successfulDomains: number; /** * Total domains attempted in the scan. */ totalDomains: number; /** * Measurement units for the results. */ units: Array; } namespace Meta { interface DomainCategory { /** * Sub-category name. */ name: string; /** * Number of successfully scanned domains in this sub-category. */ value: number; } interface Unit { name: string; value: string; } } } export interface AgentReadinessSummaryParams { /** * Filters results by the specified date. */ date?: string; /** * Filters results by domain category. */ domainCategory?: Array; /** * Format in which results will be returned. */ format?: 'JSON' | 'CSV'; /** * Array of names used to label the series in the response. */ name?: Array; } export declare namespace AgentReadiness { export { type AgentReadinessSummaryResponse as AgentReadinessSummaryResponse, type AgentReadinessSummaryParams as AgentReadinessSummaryParams, }; } //# sourceMappingURL=agent-readiness.d.ts.map