@markuplint/ml-spec
Version:
Types and schema that specs of the Markup languages for markuplint
6 lines (5 loc) • 333 B
TypeScript
import type { ARIAVersion, ARIARoleInSchema, MLMLSpec, ARIARole } from '../types/index.js';
import type { NamespaceURI } from '@markuplint/ml-ast';
export declare function getRoleSpec(specs: MLMLSpec, roleName: string, namespace: NamespaceURI, version: ARIAVersion): (ARIARole & {
superClassRoles: ARIARoleInSchema[];
}) | null;