import { Component } from '../../core/component';
import { CategoryLegendOptions } from '../../types';
export declare class CategoryLegend<O extends CategoryLegendOptions = CategoryLegendOptions> extends Component<O> {
    /**
     * 缓存 title DOM
     */
    protected titleDom: HTMLElement;
    /**
     * 缓存 list DOM
     */
    protected listDom: HTMLElement;
    /**
     * 获取默认配置
     */
    protected getDefaultOptions(): Partial<CategoryLegendOptions>;
    /**
     * 初始化 container
     */
    protected initContainer(): HTMLElement;
    /**
     * 初始化 DOM
     */
    protected initDom(): void;
    /**
     * 初始化事件
     */
    protected initEvent(): void;
    /**
     * 清理事件
     */
    protected removeEvent(): void;
    /**
     * 缓存 DOM
     */
    private cacheDoms;
    /**
     * 绘制组件
     */
    render(): void;
    /**
     * 显示
     */
    show(): void;
    /**
     * 隐藏
     */
    hide(): void;
    /**
     * 更新
     */
    protected updateInner(options: Partial<O>): void;
    /**
     * 根据 customContent 渲染 DOM
     */
    private renderCustomContent;
    /**
     * 生成自定义内容 DOM
     */
    private getHtmlContentNode;
    /**
     * 重置 title
     */
    private resetTitle;
    /**
     * 显示 title
     */
    showTitle(): void;
    /**
     * 隐藏 title
     */
    hideTitle(): void;
    /**
     * 设置 title 内容
     */
    private setTitle;
    /**
     * 渲染每项 item
     */
    private renderItems;
    /**
     * 清空 list DOM 下的 DOM 元素
     */
    private clearItemDoms;
    /**
     * 清空所有
     */
    clear(): void;
}
