/// <reference types="../index.d.ts" />
import type { ArcgisCkeditor5 } from "../components/arcgis-ckeditor5/customElement.js";
import type { ArcgisCkeditor5Popover } from "../components/arcgis-ckeditor5-popover/customElement.js";
import type { ArcgisColorInput } from "../components/arcgis-color-input/customElement.js";
import type { ArcgisFieldInfo } from "../components/arcgis-field-info/customElement.js";
import type { ArcgisFieldPickList } from "../components/arcgis-field-pick-list/customElement.js";
import type { ArcgisHistogram } from "../components/arcgis-histogram/customElement.js";
import type { ArcgisLabelInput } from "../components/arcgis-label-input/customElement.js";
import type { ArcgisPickerInput } from "../components/arcgis-picker-input/customElement.js";
import type { ArcgisRampColor } from "../components/arcgis-ramp-color/customElement.js";
import type { ArcgisRampColorBreak } from "../components/arcgis-ramp-color-break/customElement.js";
import type { ArcgisRampOpacity } from "../components/arcgis-ramp-opacity/customElement.js";
import type { ArcgisSlider } from "../components/arcgis-slider/customElement.js";
import type { ArcgisSliderInput } from "../components/arcgis-slider-input/customElement.js";
import type { ArcgisTicks } from "../components/arcgis-ticks/customElement.js";
import type { ArcgisUniqueValuesList } from "../components/arcgis-unique-values-list/customElement.js";
import { JSXBase as StencilJsx } from "@stencil/core/internal";
import type { EventHandler } from "@arcgis/lumina";

interface StencilArcgisCkeditor5 extends Partial<Pick<ArcgisCkeditor5, 'canResizeVertically' | 'currentLanguage' | 'customConfig' | 'customExpressionCheck' | 'editorType' | 'groupFieldsAndExpressions' | 'intlExpressionsGroupHeading' | 'intlFieldsGroupHeading' | 'intlTextPlaceHolder' | 'mentionFields' | 'readOnly' | 'textData'>>, StencilJsx.HTMLAttributes<HTMLArcgisCkeditor5Element> {
  onArcgisCkeditor5Created?: EventHandler<HTMLArcgisCkeditor5Element["arcgisCkeditor5Created"]>;
  onArcgisCkeditor5DataUpdated?: EventHandler<HTMLArcgisCkeditor5Element["arcgisCkeditor5DataUpdated"]>;
  onArcgisCkeditor5SourceEditingChanged?: EventHandler<HTMLArcgisCkeditor5Element["arcgisCkeditor5SourceEditingChanged"]>;
  onArcgisCreated?: EventHandler<HTMLArcgisCkeditor5Element["arcgisCreated"]>;
  onArcgisDataUpdated?: EventHandler<HTMLArcgisCkeditor5Element["arcgisDataUpdated"]>;
  onArcgisSourceEditingChanged?: EventHandler<HTMLArcgisCkeditor5Element["arcgisSourceEditingChanged"]>;
}

interface StencilArcgisCkeditor5Popover extends Partial<Pick<ArcgisCkeditor5Popover, 'guid' | 'intlCancel' | 'intlLabel' | 'intlOk' | 'refElement'>>, StencilJsx.HTMLAttributes<HTMLArcgisCkeditor5PopoverElement> {
  onArcgisCkeditor5PopoverClosed?: EventHandler<HTMLArcgisCkeditor5PopoverElement["arcgisCkeditor5PopoverClosed"]>;
  onArcgisPopoverClosed?: EventHandler<HTMLArcgisCkeditor5PopoverElement["arcgisPopoverClosed"]>;
}

interface StencilArcgisColorInput extends Partial<Pick<ArcgisColorInput, 'clearable' | 'color' | 'compact' | 'disabled' | 'hideRecentColors' | 'messageOverrides' | 'placement' | 'popoverProps' | 'showTransparency' | 'storageId'>>, StencilJsx.HTMLAttributes<HTMLArcgisColorInputElement> {
  onArcgisChange?: EventHandler<HTMLArcgisColorInputElement["arcgisChange"]>;
  onArcgisColorInputChange?: EventHandler<HTMLArcgisColorInputElement["arcgisColorInputChange"]>;
  onArcgisColorInputPopoverClose?: EventHandler<HTMLArcgisColorInputElement["arcgisColorInputPopoverClose"]>;
  onArcgisColorInputPopoverOpen?: EventHandler<HTMLArcgisColorInputElement["arcgisColorInputPopoverOpen"]>;
  onArcgisColorInputSwatchUpdate?: EventHandler<HTMLArcgisColorInputElement["arcgisColorInputSwatchUpdate"]>;
  onArcgisPickerClose?: EventHandler<HTMLArcgisColorInputElement["arcgisPickerClose"]>;
  onArcgisPickerOpen?: EventHandler<HTMLArcgisColorInputElement["arcgisPickerOpen"]>;
  onArcgisSwatchUpdate?: EventHandler<HTMLArcgisColorInputElement["arcgisSwatchUpdate"]>;
}

interface StencilArcgisFieldInfo extends Partial<Pick<ArcgisFieldInfo, 'fieldName' | 'hideAlias' | 'hideNumericFormat' | 'hideStatistics' | 'layer' | 'view'>>, StencilJsx.HTMLAttributes<HTMLArcgisFieldInfoElement> {
  onArcgisComplete?: EventHandler<HTMLArcgisFieldInfoElement["arcgisComplete"]>;
  onArcgisFieldInfoComplete?: EventHandler<HTMLArcgisFieldInfoElement["arcgisFieldInfoComplete"]>;
}

interface StencilArcgisFieldPickList extends Partial<Pick<ArcgisFieldPickList, 'customExpressionCheck' | 'expressionsGroupHeading' | 'fields' | 'fieldsGroupHeading' | 'filterNoResultsText' | 'filterPlaceholderText' | 'groupFieldsAndExpressions' | 'heading' | 'hideCancel' | 'hideSort' | 'layer' | 'listOnly' | 'mapView' | 'multiple' | 'okBtnText' | 'popoverProps' | 'selectedFields' | 'showCancel' | 'showDescription' | 'showFieldInfo' | 'showFieldName' | 'showFieldTypeIcon' | 'showFilterLength' | 'showSelectionAll' | 'showSort' | 'sortBy' | 'view'>>, StencilJsx.HTMLAttributes<HTMLArcgisFieldPickListElement> {
  onArcgisChange?: EventHandler<HTMLArcgisFieldPickListElement["arcgisChange"]>;
  onArcgisClose?: EventHandler<HTMLArcgisFieldPickListElement["arcgisClose"]>;
  onArcgisDeleteField?: EventHandler<HTMLArcgisFieldPickListElement["arcgisDeleteField"]>;
  onArcgisEditField?: EventHandler<HTMLArcgisFieldPickListElement["arcgisEditField"]>;
  onArcgisFieldPickListChange?: EventHandler<HTMLArcgisFieldPickListElement["arcgisFieldPickListChange"]>;
  onArcgisFieldPickListDismissed?: EventHandler<HTMLArcgisFieldPickListElement["arcgisFieldPickListDismissed"]>;
  onArcgisFieldPickListSortByChange?: EventHandler<HTMLArcgisFieldPickListElement["arcgisFieldPickListSortByChange"]>;
  onArcgisSortByChange?: EventHandler<HTMLArcgisFieldPickListElement["arcgisSortByChange"]>;
}

interface StencilArcgisHistogram extends Partial<Pick<ArcgisHistogram, 'average' | 'bins' | 'colorBlendingEnabled' | 'colorStops' | 'dataLines' | 'icon' | 'label' | 'labelFormatFunction' | 'layout' | 'max' | 'messageOverrides' | 'min' | 'standardDeviation'>>, StencilJsx.HTMLAttributes<HTMLArcgisHistogramElement> {
}

interface StencilArcgisLabelInput extends Partial<Pick<ArcgisLabelInput, 'alignment' | 'labelFormatter' | 'readOnly' | 'value'>>, StencilJsx.HTMLAttributes<HTMLArcgisLabelInputElement> {
  onArcgisChange?: EventHandler<HTMLArcgisLabelInputElement["arcgisChange"]>;
}

interface StencilArcgisPickerInput extends Partial<Pick<ArcgisPickerInput, 'disabled' | 'heading' | 'iconEnd' | 'intlDone' | 'label' | 'popoverProps'>>, StencilJsx.HTMLAttributes<HTMLArcgisPickerInputElement> {
  onArcgisPopoverClose?: EventHandler<HTMLArcgisPickerInputElement["arcgisPopoverClose"]>;
  onArcgisPopoverOpen?: EventHandler<HTMLArcgisPickerInputElement["arcgisPopoverOpen"]>;
}

interface StencilArcgisRampColor extends Partial<Pick<ArcgisRampColor, 'layout' | 'max' | 'min' | 'stops'>>, StencilJsx.HTMLAttributes<HTMLArcgisRampColorElement> {
}

interface StencilArcgisRampColorBreak extends Partial<Pick<ArcgisRampColorBreak, 'layout' | 'max' | 'min' | 'stops'>>, StencilJsx.HTMLAttributes<HTMLArcgisRampColorBreakElement> {
}

interface StencilArcgisRampOpacity extends Partial<Pick<ArcgisRampOpacity, 'fillColor' | 'layout' | 'max' | 'min' | 'stops'>>, StencilJsx.HTMLAttributes<HTMLArcgisRampOpacityElement> {
}

interface StencilArcgisSlider extends Partial<Pick<ArcgisSlider, 'allowValuesOverlap' | 'autoDestroyDisabled' | 'disabled' | 'fillPlacement' | 'fullRangeMax' | 'fullRangeMin' | 'labelFormatter' | 'layout' | 'max' | 'messageOverrides' | 'min' | 'mirrored' | 'popoverLabel' | 'popoverPlacement' | 'precision' | 'rangeLabelsEditingEnabled' | 'rangeLabelsPlacement' | 'segmentsDraggingDisabled' | 'showRangeLabels' | 'steps' | 'valueLabelsDisplay' | 'valueLabelsEditingEnabled' | 'valueLabelsPlacement' | 'values'>>, StencilJsx.HTMLAttributes<HTMLArcgisSliderElement> {
  onArcgisActiveValueChange?: EventHandler<HTMLArcgisSliderElement["arcgisActiveValueChange"]>;
  onArcgisChange?: EventHandler<HTMLArcgisSliderElement["arcgisChange"]>;
  onArcgisInput?: EventHandler<HTMLArcgisSliderElement["arcgisInput"]>;
  onArcgisRangeChange?: EventHandler<HTMLArcgisSliderElement["arcgisRangeChange"]>;
}

interface StencilArcgisSliderInput extends Partial<Pick<ArcgisSliderInput, 'disabled' | 'flipLabels' | 'label' | 'max' | 'min' | 'step' | 'unitsLabel' | 'value' | 'withSteppers'>>, StencilJsx.HTMLAttributes<HTMLArcgisSliderInputElement> {
  onArcgisSliderInputValueChange?: EventHandler<HTMLArcgisSliderInputElement["arcgisSliderInputValueChange"]>;
  onArcgisValueChange?: EventHandler<HTMLArcgisSliderInputElement["arcgisValueChange"]>;
}

interface StencilArcgisTicks extends Partial<Pick<ArcgisTicks, 'interactive' | 'interpolationExponent' | 'labelFormatter' | 'labelPlacement' | 'layout' | 'max' | 'min' | 'mirrored' | 'mode' | 'showBaseline' | 'showLabels' | 'values'>>, StencilJsx.HTMLAttributes<HTMLArcgisTicksElement> {
  onArcgisTickClick?: EventHandler<HTMLArcgisTicksElement["arcgisTickClick"]>;
}

interface StencilArcgisUniqueValuesList extends Partial<Pick<ArcgisUniqueValuesList, 'fieldName' | 'layer' | 'maxHeight' | 'multiple' | 'numberFormatOptions' | 'partialUniqueValues' | 'selectedValues' | 'showFilterLength' | 'sortBy' | 'uniqueValues' | 'view'>>, StencilJsx.HTMLAttributes<HTMLArcgisUniqueValuesListElement> {
  onArcgisChange?: EventHandler<HTMLArcgisUniqueValuesListElement["arcgisChange"]>;
  onArcgisLoad?: EventHandler<HTMLArcgisUniqueValuesListElement["arcgisLoad"]>;
  onArcgisSortByChange?: EventHandler<HTMLArcgisUniqueValuesListElement["arcgisSortByChange"]>;
}

interface ExposedElements {
  "arcgis-ckeditor5": StencilArcgisCkeditor5;
  "arcgis-ckeditor5-popover": StencilArcgisCkeditor5Popover;
  "arcgis-color-input": StencilArcgisColorInput;
  "arcgis-field-info": StencilArcgisFieldInfo;
  "arcgis-field-pick-list": StencilArcgisFieldPickList;
  "arcgis-histogram": StencilArcgisHistogram;
  "arcgis-label-input": StencilArcgisLabelInput;
  "arcgis-picker-input": StencilArcgisPickerInput;
  "arcgis-ramp-color": StencilArcgisRampColor;
  "arcgis-ramp-color-break": StencilArcgisRampColorBreak;
  "arcgis-ramp-opacity": StencilArcgisRampOpacity;
  "arcgis-slider": StencilArcgisSlider;
  "arcgis-slider-input": StencilArcgisSliderInput;
  "arcgis-ticks": StencilArcgisTicks;
  "arcgis-unique-values-list": StencilArcgisUniqueValuesList;
}

export namespace JSX {
  export interface IntrinsicElements extends ExposedElements {}
}

declare module "@stencil/core/internal/stencil-public-runtime" {
  export namespace h.JSX {
    interface IntrinsicElements extends ExposedElements {}
  }
}