import { View, Legend as ChartLegend, LegendItem } from '@alauda/chart';
import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
import { StringMap } from '../../core';
import * as i0 from "@angular/core";
export declare class LegendPayload {
    legend: LegendItem;
    source: LegendItem[];
}
export declare class LegendComponent implements OnInit, OnChanges {
    private readonly cdr;
    symbol: 'circle' | 'square' | 'line';
    template: TemplateRef<unknown> | string | 'dropdown';
    mode: 'card' | 'default';
    translation: boolean;
    leftOperation: TemplateRef<unknown>;
    leftOperationContext: StringMap;
    rightOperation: TemplateRef<unknown>;
    hideLegend: boolean;
    selectAllOperation: boolean;
    selectAllName: string;
    chart: View;
    changeLegend: EventEmitter<LegendItem[]>;
    get noData(): boolean;
    get legendInstance(): ChartLegend;
    legendEntries: LegendItem[];
    isTemplateRef: (label: any) => label is TemplateRef<unknown>;
    allSelected: boolean;
    get symbolName(): string;
    constructor(cdr: ChangeDetectorRef);
    ngOnChanges({ chart }: SimpleChanges): void;
    ngOnInit(): void;
    selected(legend: LegendItem): void;
    allSelect(select: boolean): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<LegendComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<LegendComponent, "acl-base-legend", never, { "symbol": "symbol"; "template": "template"; "mode": "mode"; "translation": "translation"; "leftOperation": "leftOperation"; "leftOperationContext": "leftOperationContext"; "rightOperation": "rightOperation"; "hideLegend": "hideLegend"; "selectAllOperation": "selectAllOperation"; "selectAllName": "selectAllName"; "chart": "chart"; }, { "changeLegend": "changeLegend"; }, never, never, false>;
}
