import { AfterViewInit, OnChanges, OnDestroy, OnInit } from '@angular/core'; import { DragSource, DropTarget } from '@ng-dnd/core'; import { Observable } from 'rxjs'; import { DraggedItem, RenderContext } from '../types'; import * as i0 from "@angular/core"; export declare class DndSortableRenderer implements OnChanges, OnInit, AfterViewInit, OnDestroy { private dnd; private el; context: RenderContext; get data(): Data; get index(): number; get type(): string | symbol; get listId(): string | number | symbol; /** @ignore */ private get accepts(); /** @ignore */ private get spec(); /** @ignore */ private subs; /** * This DropTarget is attached where [dndSortableRender] is. * * It is responsible for triggering {@link SortableSpec.hover} when the place you are hovering changes. */ target: DropTarget>; /** * This DragSource is NOT attached for you. * * You need to attach it yourself, by pulling #render="dndSortableRender", and applying [dragSource]="render.source". */ source: DragSource>; /** * Shortcut for `this.source.listen(m => m.isDragging())` */ isDragging$: Observable; /** @ignore */ constructor(); /** @ignore */ private createItem; /** @ignore */ private sameIds; /** @ignore */ private getCanDrag; /** @ignore */ private isDragging; /** @ignore */ private hover; /** @ignore */ private rect; /** @ignore */ private size; /** @ignore */ ngOnChanges(): void; /** @ignore */ ngOnInit(): void; /** @ignore */ ngAfterViewInit(): void; /** @ignore */ ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵdir: i0.ɵɵDirectiveDeclaration, "[dndSortableRender]", ["dndSortableRender"], { "context": { "alias": "dndSortableRender"; "required": false; }; }, {}, never, never, true, never>; }