import { ITabFlags, IFileContentResponse, ISetFileContentResponse, ISanitized } from '@ws-ui/shared';
import { AppState } from '..';
export declare const fetchRoles: import('@reduxjs/toolkit').AsyncThunk<IFileContentResponse<ISanitized>, void, {
    state: AppState;
    rejectValue: string;
    extra?: unknown;
    dispatch?: import('redux').Dispatch | undefined;
    serializedErrorType?: unknown;
    pendingMeta?: unknown;
    fulfilledMeta?: unknown;
    rejectedMeta?: unknown;
}>;
export declare const fetchRolesChanges: import('@reduxjs/toolkit').AsyncThunk<Partial<{
    touched: boolean;
    removed: boolean;
    pinned: boolean;
    loading: boolean;
    old: boolean;
    enabled: boolean;
    confirmed: boolean;
    inactive: boolean;
}>, void, {
    state: AppState;
    extra?: unknown;
    dispatch?: import('redux').Dispatch | undefined;
    rejectValue?: unknown;
    serializedErrorType?: unknown;
    pendingMeta?: unknown;
    fulfilledMeta?: unknown;
    rejectedMeta?: unknown;
}>;
export declare const isRolesOutdated: (date: string | undefined) => Promise<boolean>;
export declare const saveRoles: import('@reduxjs/toolkit').AsyncThunk<ISetFileContentResponse, ISanitized, {
    state: AppState;
    rejectValue: string | ITabFlags;
    extra?: unknown;
    dispatch?: import('redux').Dispatch | undefined;
    serializedErrorType?: unknown;
    pendingMeta?: unknown;
    fulfilledMeta?: unknown;
    rejectedMeta?: unknown;
}>;
export declare const resetRoles: import('@reduxjs/toolkit').AsyncThunk<ISetFileContentResponse, void, {
    state: AppState;
    rejectValue: string;
    extra?: unknown;
    dispatch?: import('redux').Dispatch | undefined;
    serializedErrorType?: unknown;
    pendingMeta?: unknown;
    fulfilledMeta?: unknown;
    rejectedMeta?: unknown;
}>;
