import { type WithPathItemRequestBuilder, type WithPathSlashRequestBuilder } from './item/index.js'; import { type AdditionalDataHolder, type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, 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 {WithStorageZoneNameSlashPostRequestBody} */ export declare function createWithStorageZoneNameSlashPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * The deserialization information for the current model * @returns {Record void>} */ export declare function deserializeIntoWithStorageZoneNameSlashPostRequestBody(withStorageZoneNameSlashPostRequestBody?: Partial | undefined): Record void>; /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model */ export declare function serializeWithStorageZoneNameSlashPostRequestBody(writer: SerializationWriter, withStorageZoneNameSlashPostRequestBody?: Partial | undefined | null): void; /** * Builds and executes requests for operations under /{storageZoneName} */ export interface WithStorageZoneNameItemRequestBuilder extends BaseRequestBuilder { /** * Gets an item from the EdgeStorageApiClient.item.item collection * @param path Unique identifier of the item * @returns {WithPathItemRequestBuilder} */ byPath(path: string): WithPathItemRequestBuilder; /** * Builds and executes requests for operations under /{storageZoneName}/{+path}/ * @param path The directory path that you want to list. * @returns {WithPathSlashRequestBuilder} */ withPathSlash(path: string | undefined): WithPathSlashRequestBuilder; } export interface WithStorageZoneNameSlashPostRequestBody 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 Paths property */ paths?: string[] | null; /** * The RootPath property */ rootPath?: string | null; } /** * Builds and executes requests for operations under /{storageZoneName}/ */ export interface WithStorageZoneNameSlashRequestBuilder extends BaseRequestBuilder { /** * [DownloadZip API Docs](https://toshy.github.io/BunnyNet-PHP/edge-storage-api/#download-zip) * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} */ post(body: WithStorageZoneNameSlashPostRequestBody, requestConfiguration?: RequestConfiguration | undefined): Promise; /** * [DownloadZip API Docs](https://toshy.github.io/BunnyNet-PHP/edge-storage-api/#download-zip) * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPostRequestInformation(body: WithStorageZoneNameSlashPostRequestBody, requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } /** * Uri template for the request builder. */ export declare const WithStorageZoneNameItemRequestBuilderUriTemplate = "{+baseurl}/{storageZoneName}"; /** * Uri template for the request builder. */ export declare const WithStorageZoneNameSlashRequestBuilderUriTemplate = "{+baseurl}/{storageZoneName}/"; /** * Metadata for all the navigation properties in the request builder. */ export declare const WithStorageZoneNameItemRequestBuilderNavigationMetadata: Record, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const WithStorageZoneNameSlashRequestBuilderRequestsMetadata: RequestsMetadata;