// Generated by dts-bundle-generator v9.5.1 export interface NormalizedProperty { readonly deprecated: boolean; readonly required: boolean; readonly default: string | undefined; readonly inherited: boolean; } export interface NormalizedState { readonly deprecated: boolean; readonly required: boolean; readonly default: string | undefined; readonly inherited: boolean; } export type NormalizedPropertyTable = Readonly>>; export type NormalizedStateTable = Readonly>>; export type RoleCategory = "abstract" | "widget" | "structure" | "landmark" | "live" | "window"; export interface NormalizedRole { /** Name of the role */ readonly role: string; /** Role category */ readonly category: RoleCategory; /** List of roles this role inherits from */ readonly superclasses: string[]; /** List of roles inheriting from this one */ readonly subclasses: string[]; /** List of available properties for this role */ readonly properties: NormalizedPropertyTable; /** List of available states for this role */ readonly states: NormalizedStateTable; /** Details about accessible name */ readonly name: { /** Accessible name can be set from author */ readonly fromAuthor: boolean; /** Accessible name can be set from content */ readonly fromContents: boolean; /** Accessible name must not be set */ readonly prohibited: boolean; /** Accessible name is required */ readonly required: boolean; }; /** List of roles this element requires as parent element */ readonly requiredParent: string[]; /** List of roles allowed as children of this element */ readonly allowedChildren: string[]; /** Indicates whether DOM descendants are presentational */ readonly childrenPresentational: boolean; } export type AriaRole = string & { readonly __ariaRole?: never; }; export interface AriaModule { default: Partial>; isValidRole(this: void, role: string): role is AriaRole; getRoleData(this: void, role: AriaRole): NormalizedRole; getRoleData(this: void, role: string): NormalizedRole | null; } declare const SUPPORTED_ARIA_VERSIONS: readonly [ "latest", "1.3", "1.2" ]; export type AriaVersion = (typeof SUPPORTED_ARIA_VERSIONS)[number]; /** * Check if a string is a valid ARIA version identifier supported by this * library. * * @public * @param version - The version string to validate * @returns True if the version is a valid ARIA version identifier */ export declare function isAriaVersion(version: unknown): version is AriaVersion; /** * Get ARIA role data for a specific version of the ARIA specification. * * @public * @param version - The ARIA specification version ("latest", "1.3", or "1.2") * @returns The ARIA role data for the specified version */ export declare function getAriaData(version: AriaVersion): AriaModule; export {};