/// <reference types="react" />
import type { CheckResult, PermissionsContainerType } from '../types';
declare type ProcessOldPermissionsParams<T extends string> = {
    setPermissions: SetPermissionsType<T>;
    result: CheckResult<T>;
    actionsToCheck: T[];
};
declare type SetPermissionsType<T extends string> = React.Dispatch<React.SetStateAction<PermissionsContainerType<T>>>;
export declare const processOldPermissions: <T extends string>({ setPermissions, result, actionsToCheck, }: ProcessOldPermissionsParams<T>) => void;
export {};
