import { ChangeDetectorRef, OnInit, OnDestroy } from '@angular/core';
import { CdkDrag } from '@angular/cdk/drag-drop';
import { PackageManager } from '@anglr/dynamic';
import { Logger } from '@anglr/common';
import { Subscription } from 'rxjs';
import { RelationsNodeManager } from '../../../services';
import { NodesPaletteItem } from '../nodesPalette.interface';
import * as i0 from "@angular/core";
/**
 * Component displaying nodes palette item
 */
export declare class NodesPaletteItemSAComponent implements OnInit, OnDestroy {
    protected _changeDetector: ChangeDetectorRef;
    protected packageManager: PackageManager;
    protected _metadataManager: RelationsNodeManager;
    protected _cdkDrag: CdkDrag;
    protected _logger?: Logger | undefined;
    /**
     * Subscriptions created during initialization
     */
    protected initSubscriptions: Subscription;
    /**
     * Indication whether node is already used
     */
    protected used: boolean;
    /**
     * Nodes palette item
     */
    data: NodesPaletteItem;
    constructor(_changeDetector: ChangeDetectorRef, packageManager: PackageManager, _metadataManager: RelationsNodeManager, _cdkDrag: CdkDrag, _logger?: Logger | undefined);
    /**
     * Initialize component
     */
    ngOnInit(): Promise<void>;
    /**
     * Called when component is destroyed
     */
    ngOnDestroy(): void;
    /**
     * Sets used indication for node
     * @param used
     */
    protected _setUsed(used: boolean): void;
    /**
     * Focus to relations node
     * @param item
     * @returns
     */
    protected focusNode(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<NodesPaletteItemSAComponent, [null, null, null, { optional: true; }, { optional: true; }]>;
    static ɵcmp: i0.ɵɵComponentDeclaration<NodesPaletteItemSAComponent, "nodes-palette-item", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
}
//# sourceMappingURL=nodesPaletteItem.component.d.ts.map