import { OnInit, EventEmitter, OnDestroy } from '@angular/core';
import { TextChart } from './text-chart';
import { ChartComponent } from 'ng-apexcharts';
import { MatMenuTrigger } from '@angular/material/menu';
import { ResizeEvent } from 'angular-resizable-element';
import { ChartProperty } from '../chart/chart-property';
import { Report } from '../../../../common-utils/report';
import { ReportBuilderMasterService } from '../../report-builder-master.service';
import { SendToDashboardService } from '../../../../dashboard-lib/send-to-dashboard.service';
import { CommonService } from '../../../../common.service';
import { GhostLoaderType } from '../../../../ghost-loader/ghost-loader.component';
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
import * as i0 from "@angular/core";
export declare class TextComponent implements OnInit, OnDestroy {
    private _reportBuilderMasterService;
    private _sendToDashboardService;
    private _commonService;
    private sanitizer;
    contextMenu: MatMenuTrigger;
    reportData: TextChart;
    onchartClickedEvent: EventEmitter<any>;
    onchartRightClickDeleteEvent: EventEmitter<any>;
    isEditable: boolean;
    chartRendered: EventEmitter<any>;
    textContainer: ChartComponent;
    uniquekey: number;
    handle: boolean;
    report: Report;
    contextMenuPosition: {
        x: string;
        y: string;
    };
    property: ChartProperty;
    style: any;
    showGhostLoader: boolean;
    GhostLoaderType: typeof GhostLoaderType;
    private _unsubscribeAll;
    yPosition: number;
    xPosition: number;
    sanitizedHtmlText: SafeHtml;
    currentDate: string;
    constructor(_reportBuilderMasterService: ReportBuilderMasterService, _sendToDashboardService: SendToDashboardService, _commonService: CommonService, sanitizer: DomSanitizer);
    click(event: any): void;
    ngOnInit(): void;
    ngOnDestroy(): void;
    onTextChartClicked(): void;
    onContextMenu(event: MouseEvent, chart: TextChart): void;
    onChartRightClickDelete(): void;
    chartResizeMinDimensions(event: ResizeEvent): boolean;
    dragStart($event: DragEvent): void;
    /**
     * call cdk drag end event
     *
     * @param $event
     */
    dragEnd($event: DragEvent): void;
    onResizing(event: ResizeEvent): void;
    resizeEnd(): void;
    onResizeEnd(event: ResizeEvent): void;
    onChartRightClickSendToDashboard(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<TextComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<TextComponent, "lib-text", never, { "reportData": "reportData"; "isEditable": "isEditable"; }, { "onchartClickedEvent": "onchartClickedEvent"; "onchartRightClickDeleteEvent": "onchartRightClickDeleteEvent"; "chartRendered": "chartRendered"; }, never, never>;
}
