import type { Options } from '../types.js';
import type { AttrChecker } from '@markuplint/ml-core';
/**
* Checks whether the explicit `role` attribute value is permitted on the element
* according to the ARIA in HTML specification.
*
* Each HTML element defines a set of roles that may be assigned to it. Some elements
* (e.g., ``) do not allow any role overrides. This checker enforces those constraints.
*
* @param attr - The `role` attribute node to inspect.
* @returns A violation if the role is not in the element's list of permitted roles.
*/
export declare const checkingPermittedRoles: AttrChecker;