import IOrientation from './IOrientation'; import IBrightness from './IBrightness'; export interface TakeAndUploadScreenshotResult { /** URL of the uploaded screenshot. */ screenshotUrl: string; /** aHash of the screenshot, if computed. */ aHash?: string; } /** Options for taking and uploading a screenshot. */ export interface TakeAndUploadScreenshotOptions { /** Whether to compute the hash of the screenshot. Default is false. */ computeHash?: boolean; /** Additional headers to include in the upload request. */ headers?: Record; } export declare const VTakeAndUploadScreenshotOptions: { computeHash: string; headers: string; }; export default interface IScreen { resize(baseUrl: string, orientation: string, resolution: string, currentVersion: string, videoOrientation?: string): Promise; getOrientation(): Promise; setBrightness(timeFrom1: string, brightness1: number, timeFrom2: string, brightness2: number): Promise; getBrightness(): Promise; /** @deprecated use takeAndUploadScreenshot(uploadBaseUrl: string, computeHash?: boolean): Promise */ takeAndUploadScreenshot(uploadBaseUrl: string): Promise; /** @deprecated use takeAndUploadScreenshot(uploadBaseUrl: string, options: TakeAndUploadScreenshotOptions): Promise */ takeAndUploadScreenshot(uploadBaseUrl: string, computeHash?: boolean): Promise; takeAndUploadScreenshot(uploadBaseUrl: string, options: TakeAndUploadScreenshotOptions): Promise; powerOn(): Promise; powerOff(): Promise; isPoweredOn(): Promise; }