import { type Video, type VideoCreate } from '../../../models/manageVideos/index.js'; import { type FetchRequestBuilder } from './fetch/index.js'; import { type WithVideoItemRequestBuilder } 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 {VideosGetResponse} */ export declare function createVideosGetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * The deserialization information for the current model * @returns {Record void>} */ export declare function deserializeIntoVideosGetResponse(videosGetResponse?: Partial | undefined): Record void>; export type GetOrderByQueryParameterType = (typeof GetOrderByQueryParameterTypeObject)[keyof typeof GetOrderByQueryParameterTypeObject]; /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model */ export declare function serializeVideosGetResponse(writer: SerializationWriter, videosGetResponse?: Partial | undefined | null): void; export interface VideosGetResponse 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 currentPage property */ currentPage?: number | null; /** * The items property */ items?: Video[] | null; /** * The itemsPerPage property */ itemsPerPage?: number | null; /** * The totalItems property */ totalItems?: number | null; } /** * Builds and executes requests for operations under /library/{libraryId}/videos */ export interface VideosRequestBuilder extends BaseRequestBuilder { /** * The fetch property */ get fetch(): FetchRequestBuilder; /** * Gets an item from the StreamApiClient.library.item.videos.item collection * @param videoId Unique identifier of the item * @returns {WithVideoItemRequestBuilder} */ byVideoId(videoId: string): WithVideoItemRequestBuilder; /** * [ListVideos API Docs](https://docs.bunny.net/reference/video_list) * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} */ get(requestConfiguration?: RequestConfiguration | undefined): Promise; /** * [CreateVideo API Docs](https://docs.bunny.net/reference/video_createvideo) * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise