import { type AdditionalDataHolder, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions'; export interface CheckavailabilityPostRequestBody extends AdditionalDataHolder, Parsable { /** * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. */ additionalData?: Record; /** * Determines the name of the zone that we are checking */ name?: string | null; } export interface CheckavailabilityPostResponse 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 Available property */ available?: boolean | null; } /** * Builds and executes requests for operations under /pullzone/checkavailability */ export interface CheckavailabilityRequestBuilder extends BaseRequestBuilder { /** * [CheckThePullZoneAvailability API Docs](https://docs.bunny.net/reference/pullzonepublic_checkavailability) * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} */ post(body: CheckavailabilityPostRequestBody, requestConfiguration?: RequestConfiguration | undefined): Promise; /** * [CheckThePullZoneAvailability API Docs](https://docs.bunny.net/reference/pullzonepublic_checkavailability) * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPostRequestInformation(body: CheckavailabilityPostRequestBody, requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } /** * 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 {CheckavailabilityPostRequestBody} */ export declare function createCheckavailabilityPostRequestBodyFromDiscriminatorValue(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 {CheckavailabilityPostResponse} */ export declare function createCheckavailabilityPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * The deserialization information for the current model * @returns {Record void>} */ export declare function deserializeIntoCheckavailabilityPostRequestBody(checkavailabilityPostRequestBody?: Partial | undefined): Record void>; /** * The deserialization information for the current model * @returns {Record void>} */ export declare function deserializeIntoCheckavailabilityPostResponse(checkavailabilityPostResponse?: Partial | undefined): Record void>; /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model */ export declare function serializeCheckavailabilityPostRequestBody(writer: SerializationWriter, checkavailabilityPostRequestBody?: Partial | undefined | null): void; /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model */ export declare function serializeCheckavailabilityPostResponse(writer: SerializationWriter, checkavailabilityPostResponse?: Partial | undefined | null): void; /** * Uri template for the request builder. */ export declare const CheckavailabilityRequestBuilderUriTemplate = "{+baseurl}/pullzone/checkavailability"; /** * Metadata for all the requests in the request builder. */ export declare const CheckavailabilityRequestBuilderRequestsMetadata: RequestsMetadata;