import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from "@angular/core";
import { EventBus, IEvent } from "@nova-ui/bits";
import { IHeaderLinkProvider } from "./types";
import { PizzagnaService } from "../../../pizzagna/services/pizzagna.service";
import { WidgetToDashboardEventProxyService } from "../../../services/widget-to-dashboard-event-proxy.service";
export declare class WidgetHeaderComponent implements OnInit, OnDestroy, AfterViewInit {
    private eventBus;
    pizzagnaService: PizzagnaService;
    changeDetector: ChangeDetectorRef;
    private eventProxy;
    private linkProvider;
    static lateLoadKey: string;
    componentId: string;
    editMode: boolean;
    /**
     * Boolean which shows or hides the edit button
     */
    editable: boolean;
    /**
     * Boolean which shows or hides the remove widget button
     */
    removable: boolean;
    /**
     * Boolean which adds ability to collapse widget header
     */
    collapsible: boolean;
    reloadable: boolean;
    title: string;
    titleIcon: string;
    titleIconSize: string;
    titleIconTooltip: string;
    subtitle: string;
    hideMenu: boolean;
    url: string;
    /**
     * Boolean which tells what state the widget header is in if collapsible
     */
    collapsed: boolean;
    get hostClass(): boolean;
    widgetHeaderCustomElement: ElementRef;
    withCustomElement: boolean;
    private onDestroy$;
    get state(): "expanded" | "collapsed";
    get hasTitleIcon(): boolean;
    get showTitleIcon(): boolean;
    linkTooltip: string;
    constructor(eventBus: EventBus<IEvent>, pizzagnaService: PizzagnaService, changeDetector: ChangeDetectorRef, eventProxy: WidgetToDashboardEventProxyService, linkProvider: IHeaderLinkProvider);
    ngOnInit(): void;
    ngAfterViewInit(): void;
    ngOnDestroy(): void;
    removeWidget(): void;
    toggleCollapsed(): void;
    onEditWidget(): void;
    onReloadData(): void;
    prepareLink($event: MouseEvent): boolean;
}
