import { PayloadAction } from '@reduxjs/toolkit';
import { AlertVariant } from '@patternfly/react-core';
export type AlertPayload = {
    title: string;
    message?: string;
    variant?: AlertVariant;
    key?: string;
};
export type AlertProps = {
    key: string;
    title: string;
    variant: AlertVariant;
    message?: string;
};
export declare const alertsSlice: import("@reduxjs/toolkit").Slice<AlertProps[], {
    addAlert: (state: import("immer/dist/internal").WritableDraft<AlertProps>[], action: PayloadAction<AlertPayload>) => import("immer/dist/internal").WritableDraft<AlertProps>[];
    removeAlert: (state: import("immer/dist/internal").WritableDraft<AlertProps>[], action: PayloadAction<string>) => import("immer/dist/internal").WritableDraft<AlertProps>[];
    clearAlerts: () => AlertProps[];
}, "alerts">;
//# sourceMappingURL=alertsSlice.d.ts.map