import { Reducer } from '@dineug/r-html';
import { EngineContext } from '../../context';
import { RootState } from '../../state';
import { ValuesType } from '../../../internal-types';
export declare const ActionType: {
    readonly addIndexColumn: "indexColumn.add";
    readonly removeIndexColumn: "indexColumn.remove";
    readonly moveIndexColumn: "indexColumn.move";
    readonly changeIndexColumnOrderType: "indexColumn.changeOrderType";
};
export type ActionType = ValuesType<typeof ActionType>;
export type ActionMap = {
    [ActionType.addIndexColumn]: {
        id: string;
        indexId: string;
        tableId: string;
        columnId: string;
    };
    [ActionType.removeIndexColumn]: {
        id: string;
        indexId: string;
        tableId: string;
    };
    [ActionType.moveIndexColumn]: {
        id: string;
        indexId: string;
        tableId: string;
        targetId: string;
    };
    [ActionType.changeIndexColumnOrderType]: {
        id: string;
        indexId: string;
        columnId: string;
        value: number;
    };
};
export type ReducerType<T extends keyof ActionMap> = Reducer<RootState, T, ActionMap, EngineContext>;
