import { Optional } from '@ephox/katamari'; import { type SugarPosition } from '@ephox/sugar'; import type { AlloyComponent } from '../../api/component/ComponentApi'; import type { NativeSimulatedEvent } from '../../events/SimulatedEvent'; import type { SliderModelDetailParts, SliderValueXY, TwoDSliderDetail } from '../types/SliderTypes'; declare const setValueFrom: (spectrum: AlloyComponent, detail: TwoDSliderDetail, value: SugarPosition) => SliderValueXY; declare const setToMin: (spectrum: AlloyComponent, detail: TwoDSliderDetail) => void; declare const setToMax: (spectrum: AlloyComponent, detail: TwoDSliderDetail) => void; declare const getValueFromEvent: (simulatedEvent: NativeSimulatedEvent) => Optional; declare const setPositionFromValue: (slider: AlloyComponent, thumb: AlloyComponent, detail: TwoDSliderDetail, edges: SliderModelDetailParts) => void; declare const onLeft: (spectrum: AlloyComponent, detail: TwoDSliderDetail, useMultiplier?: boolean) => Optional; declare const onRight: (spectrum: AlloyComponent, detail: TwoDSliderDetail, useMultiplier?: boolean) => Optional; declare const onUp: (spectrum: AlloyComponent, detail: TwoDSliderDetail, useMultiplier?: boolean) => Optional; declare const onDown: (spectrum: AlloyComponent, detail: TwoDSliderDetail, useMultiplier?: boolean) => Optional; declare const edgeActions: { 'top-left': Optional<(edge: AlloyComponent, detail: TwoDSliderDetail) => void>; top: Optional<(edge: AlloyComponent, detail: TwoDSliderDetail) => void>; 'top-right': Optional<(edge: AlloyComponent, detail: TwoDSliderDetail) => void>; right: Optional<(edge: AlloyComponent, detail: TwoDSliderDetail) => void>; 'bottom-right': Optional<(edge: AlloyComponent, detail: TwoDSliderDetail) => void>; bottom: Optional<(edge: AlloyComponent, detail: TwoDSliderDetail) => void>; 'bottom-left': Optional<(edge: AlloyComponent, detail: TwoDSliderDetail) => void>; left: Optional<(edge: AlloyComponent, detail: TwoDSliderDetail) => void>; }; export { setValueFrom, setToMin, setToMax, getValueFromEvent, setPositionFromValue, onLeft, onRight, onUp, onDown, edgeActions }; //# sourceMappingURL=TwoDModel.d.ts.map