import type { CloudlyApiClient } from './classes.cloudlyapiclient.js'; import * as plugins from './plugins.js'; export interface IImageRequestOptions { readonly abortSignal?: AbortSignal; } export interface IImagePushOptions extends IImageRequestOptions { /** Fixed sender wait for receiver acceptance after FIN; defaults to ten minutes, maximum one hour. */ readonly acceptanceTimeoutMs?: number; } export declare class Image implements plugins.servezoneInterfaces.data.IImage { static getImages(cloudlyClientRef: CloudlyApiClient): Promise; static getImageById(cloudlyClientRef: CloudlyApiClient, imageIdArg: string): Promise; /** * creates a new image */ static createImage(cloudlyClientRef: CloudlyApiClient, imageDataArg: Partial): Promise; cloudlyClientRef: CloudlyApiClient; id: plugins.servezoneInterfaces.data.IImage['id']; data: plugins.servezoneInterfaces.data.IImage['data']; constructor(cloudlyClientRef: CloudlyApiClient); /** * updates the image data */ update(optionsArg?: IImageRequestOptions): Promise; /** * pushes a new version of the image * @param imageVersion * @param imageReadableArg */ pushImageVersion(imageVersion: string, imageReadableArg: ReadableStream, optionsArg?: IImagePushOptions): Promise; /** * pulls a version of the image */ pullImageVersion(versionStringArg: string): Promise>; }