import { type AdditionalDataHolder, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions'; /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {StatisticsGetResponse_FileCountChart} */ export declare function createStatisticsGetResponse_FileCountChartFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {StatisticsGetResponse_StorageUsedChart} */ export declare function createStatisticsGetResponse_StorageUsedChartFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {StatisticsGetResponse} */ export declare function createStatisticsGetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * The deserialization information for the current model * @returns {Record void>} */ export declare function deserializeIntoStatisticsGetResponse(statisticsGetResponse?: Partial | undefined): Record void>; /** * The deserialization information for the current model * @returns {Record void>} */ export declare function deserializeIntoStatisticsGetResponse_FileCountChart(statisticsGetResponse_FileCountChart?: Partial | undefined): Record void>; /** * The deserialization information for the current model * @returns {Record void>} */ export declare function deserializeIntoStatisticsGetResponse_StorageUsedChart(statisticsGetResponse_StorageUsedChart?: Partial | undefined): Record void>; /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model */ export declare function serializeStatisticsGetResponse(writer: SerializationWriter, statisticsGetResponse?: Partial | undefined | null): void; /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model */ export declare function serializeStatisticsGetResponse_FileCountChart(writer: SerializationWriter, statisticsGetResponse_FileCountChart?: Partial | undefined | null): void; /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model */ export declare function serializeStatisticsGetResponse_StorageUsedChart(writer: SerializationWriter, statisticsGetResponse_StorageUsedChart?: Partial | undefined | null): void; export interface StatisticsGetResponse extends AdditionalDataHolder, Parsable { /** * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. */ additionalData?: Record; /** * The FileCountChart property */ fileCountChart?: StatisticsGetResponse_FileCountChart | null; /** * The StorageUsedChart property */ storageUsedChart?: StatisticsGetResponse_StorageUsedChart | null; } export interface StatisticsGetResponse_FileCountChart extends AdditionalDataHolder, Parsable { /** * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. */ additionalData?: Record; } export interface StatisticsGetResponse_StorageUsedChart extends AdditionalDataHolder, Parsable { /** * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. */ additionalData?: Record; } /** * Builds and executes requests for operations under /storagezone/{id}/statistics */ export interface StatisticsRequestBuilder extends BaseRequestBuilder { /** * [GetStorageZoneStatistics API Docs](https://docs.bunny.net/reference/storagezonepublic_storagezonestatistics) * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} */ get(requestConfiguration?: RequestConfiguration | undefined): Promise; /** * [GetStorageZoneStatistics API Docs](https://docs.bunny.net/reference/storagezonepublic_storagezonestatistics) * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } /** * [GetStorageZoneStatistics API Docs](https://docs.bunny.net/reference/storagezonepublic_storagezonestatistics) */ export interface StatisticsRequestBuilderGetQueryParameters { dateFrom?: Date; dateTo?: Date; } /** * Uri template for the request builder. */ export declare const StatisticsRequestBuilderUriTemplate = "{+baseurl}/storagezone/{id}/statistics{?dateFrom,dateTo}"; /** * Metadata for all the requests in the request builder. */ export declare const StatisticsRequestBuilderRequestsMetadata: RequestsMetadata;