import type PortalFolder from "../../../portal/PortalFolder.js";

export interface SaveOptions {
  /** Indicates whether to ignore saving unsupported layers or layers with unsupported content, such as unsupported symbology. */
  ignoreUnsupported?: boolean;
}

export interface SaveAsOptions extends SaveOptions {
  /** The portal folder where the layer's portal item will be saved. */
  folder?: PortalFolder;
}