import { ChangeDetectorRef, EventEmitter, OnInit, TemplateRef } from '@angular/core';
import { ContextChartService } from '../../chart.service';
export interface LegendItem {
    name: string;
    color: string;
    activate?: boolean;
    hover?: boolean;
}
export declare class LegendPayload {
    legendItem: LegendItem;
    legends: LegendItem[];
}
export declare class ChartLegendComponent implements OnInit {
    readonly context: ContextChartService;
    private readonly cdr;
    legendEntries: LegendItem[];
    symbol: 'circle' | 'square' | 'line';
    template: TemplateRef<unknown> | string | 'dropdown';
    mode: 'card' | 'default';
    translation: boolean;
    leftOperation: TemplateRef<unknown>;
    rightOperation: TemplateRef<unknown>;
    hideLegend: boolean;
    selectAllOperation: boolean;
    selectAllName: string;
    labelClick: EventEmitter<LegendPayload>;
    labelActivate: EventEmitter<LegendItem>;
    labelDeactivate: EventEmitter<LegendItem>;
    isTemplateRef: (label: string | TemplateRef<unknown>) => label is TemplateRef<unknown>;
    allSelected: boolean;
    get symbolName(): string;
    constructor(context: ContextChartService, cdr: ChangeDetectorRef);
    ngOnInit(): void;
    selected(legend: LegendItem): void;
    mouseenter(legend: LegendItem): void;
    mouseleave(legend: LegendItem): void;
    allSelect(select: boolean): void;
}
