/// <reference types="@nativescript/objc-node-api" />
/// <reference path="./Runtime.d.ts" />

declare const SCScreenshotDynamicRange: {
  S: 0,
  H: 1,
  SDRAndH: 2,
};

declare const SCScreenshotDisplayIntent: {
  Canonical: 0,
  Local: 1,
};

declare class SCScreenshotConfiguration extends NSObject {
  width: number;

  height: number;

  showsCursor: boolean;

  sourceRect: CGRect;

  destinationRect: CGRect;

  ignoreShadows: boolean;

  ignoreClipping: boolean;

  includeChildWindows: boolean;

  displayIntent: interop.Enum<typeof SCScreenshotDisplayIntent>;

  dynamicRange: interop.Enum<typeof SCScreenshotDynamicRange>;

  contentType: UTType;

  fileURL: NSURL;

  static readonly supportedContentTypes: NSArray;
}

declare class SCScreenshotOutput extends NSObject {
  sdrImage: interop.Object;

  hdrImage: interop.Object;

  fileURL: NSURL;
}

