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 {OEmbedGetResponse} */ export declare function createOEmbedGetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * The deserialization information for the current model * @returns {Record void>} */ export declare function deserializeIntoOEmbedGetResponse(oEmbedGetResponse?: Partial | undefined): Record void>; export interface OEmbedGetResponse 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 height property */ height?: number | null; /** * The html property */ html?: string | null; /** * The providerName property */ providerName?: string | null; /** * The providerUrl property */ providerUrl?: string | null; /** * The thumbnailUrl property */ thumbnailUrl?: string | null; /** * The title property */ title?: string | null; /** * The type property */ type?: string | null; /** * The version property */ version?: string | null; /** * The width property */ width?: number | null; } /** * Builds and executes requests for operations under /OEmbed */ export interface OEmbedRequestBuilder extends BaseRequestBuilder { /** * [OEmbed API Docs](https://docs.bunny.net/reference/oembed_getoembed) * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} */ get(requestConfiguration?: RequestConfiguration | undefined): Promise; /** * [OEmbed API Docs](https://docs.bunny.net/reference/oembed_getoembed) * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } /** * [OEmbed API Docs](https://docs.bunny.net/reference/oembed_getoembed) */ export interface OEmbedRequestBuilderGetQueryParameters { expires?: number; maxHeight?: number; maxWidth?: number; token?: string; url?: string; } /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model */ export declare function serializeOEmbedGetResponse(writer: SerializationWriter, oEmbedGetResponse?: Partial | undefined | null): void; /** * Uri template for the request builder. */ export declare const OEmbedRequestBuilderUriTemplate = "{+baseurl}/OEmbed?expires={expires}&url={url}{&maxHeight,maxWidth,token}"; /** * Metadata for all the requests in the request builder. */ export declare const OEmbedRequestBuilderRequestsMetadata: RequestsMetadata;