export declare function buildLegend(series: Array<{
    name: string;
    color?: string;
    selected?: boolean;
}>): {
    data: {
        name: string;
        textStyle: {
            color: string;
        };
    }[];
    selected: Record<string, boolean>;
};
export declare function createTabulationFeature(toggleTable: (visible?: boolean) => void): Record<string, unknown>;
export declare function createStatisticFeature(toggleStatistic: (visible?: boolean) => void): Record<string, unknown>;
