import { DragulaOptions } from './DragulaOptions' ; import { DrakeWithModels } from './DrakeWithModels' ; import * as dragulaExpt from 'dragula' ; export const dragula = ( dragulaExpt as any ) . default || dragulaExpt ; export type DrakeBuilder = ( containers : any [ ] , options : DragulaOptions ) => DrakeWithModels ; export class DrakeFactory { constructor ( public build = dragula ) { } }