import type * as BABYLON from "@babylonjs/core"; /** * Parameters for engine utilities: screenshots, canvas sizing, color conversion and the other helpers * that sit around the scene rather than inside it. */ export declare namespace BabylonTools { /** * Feeds `babylon.tools.createScreenshot` and `createScreenshotAndDownload`: the camera to * render through, the image size, format and quality. */ class ScreenshotDto { constructor(camera?: BABYLON.Camera, width?: number, height?: number, mimeType?: string, quality?: number); /** * The camera to render through; left out, the active camera is used * @default undefined * @optional true */ camera?: BABYLON.Camera | undefined; /** * Pixel width of the image * @default 1920 * @minimum 0 * @maximum Infinity * @step 1 */ width?: number | undefined; /** * Pixel height of the image * @default 1080 * @minimum 0 * @maximum Infinity * @step 1 */ height?: number | undefined; /** * Image format as a MIME type, such as `image/png` or `image/jpeg` * @default image/png */ mimeType?: string | undefined; /** * Compression quality from 0 to 1 for lossy formats such as JPEG; PNG ignores it * @default 1 * @minimum 0 * @maximum Infinity * @step 0.1 */ quality?: number | undefined; } }