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 {RemoveAllowedReferrerPostRequestBody} */ export declare function createRemoveAllowedReferrerPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * The deserialization information for the current model * @returns {Record void>} */ export declare function deserializeIntoRemoveAllowedReferrerPostRequestBody(removeAllowedReferrerPostRequestBody?: Partial | undefined): Record void>; export interface RemoveAllowedReferrerPostRequestBody 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 hostname that will be removed as an allowed referer */ hostname?: string | null; } /** * Builds and executes requests for operations under /pullzone/{-id}/removeAllowedReferrer */ export interface RemoveAllowedReferrerRequestBuilder extends BaseRequestBuilder { /** * [RemoveAllowedReferer API Docs](https://docs.bunny.net/reference/pullzonepublic_removeallowedreferrer) * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. */ post(body: RemoveAllowedReferrerPostRequestBody, requestConfiguration?: RequestConfiguration | undefined): Promise; /** * [RemoveAllowedReferer API Docs](https://docs.bunny.net/reference/pullzonepublic_removeallowedreferrer) * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPostRequestInformation(body: RemoveAllowedReferrerPostRequestBody, requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model */ export declare function serializeRemoveAllowedReferrerPostRequestBody(writer: SerializationWriter, removeAllowedReferrerPostRequestBody?: Partial | undefined | null): void; /** * Uri template for the request builder. */ export declare const RemoveAllowedReferrerRequestBuilderUriTemplate = "{+baseurl}/pullzone/{%2Did}/removeAllowedReferrer"; /** * Metadata for all the requests in the request builder. */ export declare const RemoveAllowedReferrerRequestBuilderRequestsMetadata: RequestsMetadata;