import { PayloadAction } from '@reduxjs/toolkit';
import { IWebFormStyleClass } from '@ws-ui/shared';

export type ISharedCSSState = {
    state: 'loading' | 'loaded' | 'error';
    styles: IWebFormStyleClass[];
    error?: string;
};
declare const stateSlice: import('@reduxjs/toolkit').Slice<ISharedCSSState, {
    updateSharedCss: (state: import('immer/dist/internal').WritableDraft<ISharedCSSState>, action: PayloadAction<{
        classes: IWebFormStyleClass[];
    }>) => import('immer/dist/internal').WritableDraft<ISharedCSSState>;
    initSharedCss: (state: import('immer/dist/internal').WritableDraft<ISharedCSSState>, action: PayloadAction<{
        classes: IWebFormStyleClass[];
    }>) => import('immer/dist/internal').WritableDraft<ISharedCSSState>;
}, "shared-css">;
export declare const updateSharedCss: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
    classes: IWebFormStyleClass[];
}, "shared-css/updateSharedCss">, initSharedCss: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
    classes: IWebFormStyleClass[];
}, "shared-css/initSharedCss">;
export default stateSlice;
