import { PayloadAction } from '@reduxjs/toolkit';

export type IModelState = {
    model: {
        dataClasses: Record<string, catalog.IDataClass>;
        collections: Record<string, catalog.IDataClass>;
        extraProperties: Record<string, any>;
    };
    draft: {
        dataClasses: Record<string, catalog.IDataClass>;
        collections: Record<string, catalog.IDataClass>;
        extraProperties: Record<string, any>;
    };
    flags: {
        [key: string]: any;
    };
    errored?: boolean;
};
export declare const FLAGS_KEYS: {
    DATACLASS_DELETE: string;
    DATACLASS_DRAGGABLE: string;
};
declare const stateSlice: import('@reduxjs/toolkit').Slice<IModelState, {
    setModelFlag(state: IModelState, action: PayloadAction<{
        [key: string]: any;
    }>): void;
}, "Models">;
export declare const setModelFlag: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
    [key: string]: any;
}, "Models/setModelFlag">;
export default stateSlice;
