import * as DataTransfers from './DataTransfers';
export const createDropEventDetails = (config, event) => {
    const rawEvent = event.event.raw;
    // TODO: Should this handle if dataTransfer is null?
    const transfer = rawEvent.dataTransfer;
    const data = DataTransfers.getData(transfer, config.type);
    const files = DataTransfers.getFiles(transfer);
    return {
        ...event,
        data,
        files
    };
};
//# sourceMappingURL=DropEvent.js.map