import type { SelectorEngine, SelectorRoot } from './engine.js'; export interface RoleSelectorOptions { name?: string; exact?: boolean; } /** * ARIA role selector engine. * Matches elements by their ARIA role and accessible name. * Syntax: role=button[name="Submit"] */ export declare class RoleSelectorEngine implements SelectorEngine { readonly name = "role"; query(root: SelectorRoot, selector: string): Element | null; queryAll(root: SelectorRoot, selector: string): Element[]; private findRoleElement; private findRoleElements; private matchesRole; } export declare const roleEngine: RoleSelectorEngine; //# sourceMappingURL=role.d.ts.map