import type { RootState } from '../store'; export interface ErrorResolutions { [key: string]: () => void; } export interface ErrorMessage { message: string; detail?: string; } export interface ErrorDialog { isVisible: boolean; messages: ErrorMessage[]; errorResolutions?: ErrorResolutions; } export declare const reducer: import("redux").Reducer, hideDialog: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"errorDialog/hideDialog">, showDialog: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[message: string, errorResolutions?: ErrorResolutions | undefined, detail?: string | undefined], { message: { message: string; detail: string | undefined; }; errorResolutions: ErrorResolutions | undefined; }, "errorDialog/showDialog", never, never>; export declare const isVisible: (state: RootState) => boolean; export declare const messages: (state: RootState) => ErrorMessage[]; export declare const errorResolutions: (state: RootState) => ErrorResolutions | undefined; //# sourceMappingURL=errorDialogSlice.d.ts.map