import type { ColumnIconOption, ITableThemeDefine } from './ts-types';
import type { IEditor } from '@visactor/vtable-editors';
import type { Aggregator } from './ts-types/dataset/aggregation';
export declare function theme(name: string, theme?: ITableThemeDefine): ITableThemeDefine;
export declare function icon(name: string, icon?: ColumnIconOption): ColumnIconOption;
export declare function chartModule(name: string, chartModule?: any): any;
export declare function editor(name: string, editor?: IEditor): IEditor;
export declare function aggregator(aggregationType: string, aggregation: {
    new (args: {
        key: string;
        field: string;
        formatFun?: any;
    }): Aggregator;
}): void;
export declare function clearAll(): void;
