import type { Optional } from '@ephox/katamari'; import { type EventArgs, type SugarPosition } from '@ephox/sugar'; import type { AlloyComponent } from '../../api/component/ComponentApi'; import * as AlloyEvents from '../../api/events/AlloyEvents'; import type { EventFormat } from '../../events/SimulatedEvent'; import type { DraggingConfig, DraggingState, DragModeDeltas, DragStartData } from './DraggingTypes'; type EventsFunc, A extends EventFormat, E> = (dragConfig: C, dragState: DraggingState, updateStartState: (comp: AlloyComponent) => void) => Array>; declare const calcStartData: (dragConfig: DraggingConfig, comp: AlloyComponent) => DragStartData; declare const move: (component: AlloyComponent, dragConfig: DraggingConfig, dragState: DraggingState, dragMode: DragModeDeltas, event: EventArgs) => void; declare const stop: (component: AlloyComponent, blocker: Optional, dragConfig: DraggingConfig, dragState: DraggingState) => void; declare const handlers: , A extends EventFormat, E>(events: EventsFunc) => (dragConfig: C, dragState: DraggingState) => AlloyEvents.AlloyEventRecord; export { calcStartData, handlers, move, stop }; //# sourceMappingURL=DragUtils.d.ts.map