import { NgZone, ElementRef } from '@angular/core'; import { ViewportRulerService } from '@itix/core'; import { DragAndDropRegistryService } from './drag-and-drop-registry.service'; import { DragRef } from './models/drag.ref'; import { DropListRef } from './models/drop-list.ref'; import * as i0 from "@angular/core"; /** * Serviço que permite que a funcionalidade de arrastar e soltar seja anexada aos elementos do DOM. */ export declare class DragAndDropService { private document; private ngZone; private viewportRulerService; private dragAndDropRegistryService; constructor(document: any, ngZone: NgZone, viewportRulerService: ViewportRulerService, dragAndDropRegistryService: DragAndDropRegistryService); /** * Permite que um elemento seja arrastado. * @param element Elemento que receberá a funcionalidade de arrastar. * @param config Configuração do comportamento (Veja: #ixsee[p:common/drang-and-drop/models, i:DragRefConfig]). * @returns #ixsee[p:common/drang-and-drop/models, i:DragRefConfig] */ createDrag(element: ElementRef | HTMLElement, config?: import("./models/drag-ref.config").DragRefConfig): DragRef; /** * Permite que um elemento se torne uma área de soltura. * @param element Elemento que se tornará uma área de soltura. * @returns #ixsee[p:common/drang-and-drop/models, i:DropListRef] */ createDropList(element: ElementRef | HTMLElement): DropListRef; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }