/// export = screenshotDesktop; declare function screenshotDesktop( options?: screenshotDesktop.ScreenshotOptionsWithoutFilename, ): Promise; declare function screenshotDesktop( options?: screenshotDesktop.ScreenshotOptionsWithFilename, ): Promise; declare namespace screenshotDesktop { interface ScreenshotOptions { filename?: string; format?: ImageFormat; screen?: DisplayID; linuxLibrary?: "scrot" | "imagemagick"; } interface ScreenshotOptionsWithFilename extends ScreenshotOptions { filename: string; } interface ScreenshotOptionsWithoutFilename extends ScreenshotOptions { filename?: ""; } interface Display { id: number | string; name: string; } type DisplayID = Display["id"]; type ImageFormat = "jpg" | "png"; function listDisplays(): Promise>; function all(): Promise>; }