import { Optional } from '@ephox/katamari';
import { SugarPosition } from '@ephox/sugar';
import { AlloyComponent } from '../../api/component/ComponentApi';
import { NativeSimulatedEvent } from '../../events/SimulatedEvent';
import { 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<MouseEvent | TouchEvent>) => Optional<SugarPosition>;
declare const setPositionFromValue: (slider: AlloyComponent, thumb: AlloyComponent, detail: TwoDSliderDetail, edges: SliderModelDetailParts) => void;
declare const onLeft: (spectrum: AlloyComponent, detail: TwoDSliderDetail) => Optional<boolean>;
declare const onRight: (spectrum: AlloyComponent, detail: TwoDSliderDetail) => Optional<boolean>;
declare const onUp: (spectrum: AlloyComponent, detail: TwoDSliderDetail) => Optional<boolean>;
declare const onDown: (spectrum: AlloyComponent, detail: TwoDSliderDetail) => Optional<boolean>;
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