import type { FrameBase, ImageBase, IImage } from '../interfaces/core'; import { HttpClient } from '../utils/httpClient'; /** * The base Image class * @remarks * Use this to initialize an Image stored in VideoDB */ export declare class Image implements IImage { #private; readonly id: string; readonly collectionId?: string; readonly name?: string; readonly url?: string; /** * Initializes a VideoDB Instance * @param http - HttpClient object * @param data - Data needed to initialize an Image instance */ constructor(http: HttpClient, data: ImageBase); /** * Returns an empty promise that resolves when the image is deleted * @returns A promise that resolves when delete is successful * @throws an InvalidRequestError if the request fails */ delete: () => Promise>>; /** * Generate the signed url of the image * @returns The signed url of the image */ generateUrl: () => Promise; } export declare class Frame extends Image { #private; videoId: string; sceneId: string; frameTime: number; description: string; constructor(http: HttpClient, data: FrameBase); getRequestData(): object; describe(prompt?: string, modelName?: string, modelConfig?: Record): Promise; }