import { PayloadAction } from '@reduxjs/toolkit';
export interface ErrorState {
    description?: string;
    messageText?: string;
    [x: string]: any;
}
export declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
    set: (_: import("immer/dist/internal").WritableDraft<ErrorState>, actions: PayloadAction<ErrorState>) => ErrorState;
    clear: () => ErrorState;
}, "error">;
export declare const errorReducer: import("redux").Reducer<ErrorState>;
