/** * RoleSelector — a trigger button and a single-select listbox of roles. * * Implements keyboard support per the WAI-ARIA listbox pattern, mirroring the * roving-focus approach in `ui/Dropdown.svelte`: the trigger opens on * ArrowDown/ArrowUp/Enter/Space; the open list moves focus onto the selected * (or first) option; ArrowUp/Down/Home/End move roving focus; Enter/Space pick * the focused option; Escape closes and refocuses the trigger; Tab closes. * Click-outside also dismisses. */ import type { Role } from '@happyvertical/smrt-types'; export interface Props { roles: Role[]; value?: string | null; onchange: (roleId: string) => void; disabled?: boolean; placeholder?: string; showDescription?: boolean; } declare const RoleSelector: import("svelte").Component; type RoleSelector = ReturnType; export default RoleSelector; //# sourceMappingURL=RoleSelector.svelte.d.ts.map