export interface Statistics { AverageOriginResponseTime: number; BandwidthCachedChart: Record; BandwidthUsedChart: Record; CacheHitRate: number; CacheHitRateChart: Record; Error3xxChart: Record; Error4xxChart: Record; Error5xxChart: Record; GeoTrafficDistribution: any; OriginResponseTimeChart: Record; OriginShieldBandwidthUsedChart: Record; OriginShieldInternalBandwidthUsedChart: Record; OriginTrafficChart: Record; PullRequestsPulledChart: Record; RequestsServedChart: Record; TotalBandwidthUsed: number; TotalOriginTraffic: number; TotalRequestsServed: number; UserBalanceHistoryChart: Record; } export interface GetStatisticsRequest { /** * User-specific [API Key](https://dash.bunny.net/account/settings) * @example "cb1a7c68-89a0-462a-9495-13ebd7366cfe" */ apiKey?: string; /** * The ISO 8601 start date of the statistics. If no value is passed, the last 30 days will be returned. * @example "2023-04-27T00:00:00Z" */ dateFrom?: string; /** * The ISO 8601 end date of the statistics. If no value is passed, the last 30 days will be returned. * @example "2023-04-28T00:00:00Z" */ dateTo?: string; /** * If true, the statistics data will be returned in hourly grouping. * @example false */ hourly?: boolean; /** * If set, the respose will contain the non-2xx response * @example false */ loadErrors?: boolean; /** * If set, the statistics will be only returned for the given Pull Zone */ pullZone?: number; /** * If set, the statistics will be only returned for the given region ID */ serverZoneId?: number; } export type GetStatisticsResponse = Statistics; export declare const getStatistics: import("untypeable/dist/client-ca591958").g; export declare const getStatisticsEndpoints: { readonly "GET /statistics": "GET /statistics"; readonly getStatistics: "getStatistics"; }; export declare function getStatisticsClient(defaultRequestInit: RequestInit, { apiKey, dateFrom, dateTo, hourly, loadErrors, pullZone, serverZoneId, }?: GetStatisticsRequest): Promise; //# sourceMappingURL=getStatistics.d.ts.map