import type { OneOrMany } from './types.ts'; /** * Set, get, or manage ARIA attributes on DOM elements. * Auto-prefixes keys with `aria-` so callers use short names. * * @example * aria(el, { pressed: 'true' }); // sets aria-pressed="true" * aria(el, 'pressed'); // → 'true' * aria(el, ['pressed', 'expanded']); // → { pressed: 'true', expanded: null } * aria.remove(el, 'pressed'); * aria.role(el, 'button'); * aria.hide(el); */ declare function aria(els: OneOrMany, attrs: Record): void; declare function aria(el: HTMLElement, attr: string): string | null; declare function aria(el: HTMLElement, attrs: string[]): Record; declare namespace aria { var remove: (els: OneOrMany, attrs: string | string[]) => void; var role: (el: HTMLElement, value?: string) => string | null | void; var label: (el: HTMLElement, value?: string) => string | null | void; var hide: (els: OneOrMany) => void; var show: (els: OneOrMany) => void; var live: (els: OneOrMany, value: string) => void; } export { aria };