import { PayloadAction } from '@reduxjs/toolkit';
import { IRolesState, TById, TRawData, TRolesDict } from './types';
declare const stateSlice: import('@reduxjs/toolkit').Slice<IRolesState, {
    updatePrivileges: (state: import('immer/dist/internal').WritableDraft<IRolesState>, action: PayloadAction<TById>) => void;
    updateRoles: (state: import('immer/dist/internal').WritableDraft<IRolesState>, action: PayloadAction<TRolesDict>) => void;
    updateRolesAndPrivileges: (state: import('immer/dist/internal').WritableDraft<IRolesState>, action: PayloadAction<{
        roles: TRolesDict;
        privileges: TById;
    }>) => void;
    toggleTab: (state: import('immer/dist/internal').WritableDraft<IRolesState>, action: PayloadAction<"privileges" | "roles">) => void;
    toggleForceLogin: (state: import('immer/dist/internal').WritableDraft<IRolesState>, action: PayloadAction<boolean>) => void;
    setRolesContent(state: import('immer/dist/internal').WritableDraft<IRolesState>, action: PayloadAction<{
        content: TRawData;
        date?: string;
        flags?: IRolesState["flags"];
    }>): {
        flags: {
            touched?: boolean | undefined;
            removed?: boolean | undefined;
            pinned?: boolean | undefined;
            loading?: boolean | undefined;
            old?: boolean | undefined;
            enabled?: boolean | undefined;
            confirmed?: boolean | undefined;
            inactive?: boolean | undefined;
        };
        date?: string;
        privileges: TById;
        roles: TRolesDict;
        forceLogin?: boolean;
        selectedTab: "privileges" | "roles";
    };
}, "roles">;
export declare const updatePrivileges: import('@reduxjs/toolkit').ActionCreatorWithPayload<TById, "roles/updatePrivileges">, updateRoles: import('@reduxjs/toolkit').ActionCreatorWithPayload<TRolesDict, "roles/updateRoles">, setRolesContent: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
    content: TRawData;
    date?: string;
    flags?: IRolesState["flags"];
}, "roles/setRolesContent">, toggleTab: import('@reduxjs/toolkit').ActionCreatorWithPayload<"roles" | "privileges", "roles/toggleTab">, toggleForceLogin: import('@reduxjs/toolkit').ActionCreatorWithPayload<boolean, "roles/toggleForceLogin">, updateRolesAndPrivileges: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
    roles: TRolesDict;
    privileges: TById;
}, "roles/updateRolesAndPrivileges">;
export default stateSlice;
