import type { Role } from '@mattermost/types/roles'; import type { ActionFuncAsync } from 'mattermost-redux/types/actions'; export declare function getRolesByNames(rolesNames: string[]): ActionFuncAsync; export declare function getRoleByName(roleName: string): ActionFuncAsync; export declare function getRole(roleId: string): ActionFuncAsync; export declare function editRole(role: Partial & { id: string; }): ActionFuncAsync; export declare function setPendingRoles(roles: string[]): { type: "SET_PENDING_ROLES"; data: string[]; }; export declare function loadRolesIfNeeded(roles: Iterable): ActionFuncAsync>;