import { type SugarElement } from '@ephox/sugar'; import { getDragImage } from '../datatransfer/DataTransfer'; import { Chain } from './Chain'; import type { Step } from './Step'; interface Item { data: string; type: string; } declare const isDraggable: (element: SugarElement) => boolean; declare const dragnDrop: (from: SugarElement, to: SugarElement, prevented?: boolean) => void; declare const dropFiles: (files: File[], to: SugarElement, prevented?: boolean) => void; declare const dropItems: (items: Item[], to: SugarElement, prevented?: boolean) => void; declare const cDragnDrop: (fromSelector: string, toSelector: string, prevented?: boolean) => Chain, SugarElement>; declare const sDragnDrop: (fromSelector: string, toSelector: string, prevented?: boolean) => Step; declare const pDragnDrop: (fromSelector: string, toSelector: string, prevented?: boolean) => Promise>; declare const sDropFiles: (files: File[], toSelector: string, prevented?: boolean) => Step; declare const cDropFiles: (files: File[], prevented?: boolean) => Chain, SugarElement>; declare const pDropFiles: (elm: SugarElement, files: File[], prevented?: boolean) => Promise>; declare const sDropItems: (items: Item[], toSelector: string, prevented?: boolean) => Step; declare const cDropItems: (items: Item[], prevented?: boolean) => Chain, SugarElement>; declare const pDropItems: (elm: SugarElement, items: Item[], prevented?: boolean) => Promise>; export { isDraggable, dragnDrop, dropFiles, dropItems, cDragnDrop, sDragnDrop, pDragnDrop, sDropFiles, cDropFiles, pDropFiles, sDropItems, cDropItems, pDropItems, getDragImage }; //# sourceMappingURL=DragnDrop.d.ts.map