import * as React from '@theia/core/shared/react'; import { ParsedCapability } from '@theia/ai-core'; import { HoverService } from '@theia/core/lib/browser'; export interface CapabilityChipsRowProps { capabilities: ParsedCapability[]; overrides: Map; onCapabilityChange: (fragmentId: string, enabled: boolean) => void; disabled?: boolean; hoverService: HoverService; } /** * A row of toggle chips rendered inline inside the editor box, * wrapped in a collapsible "Capabilities" section. * * Keyboard navigation: roving tabindex — Tab enters the group on the * currently focused chip, Arrow Left/Right moves between chips, * Space/Enter toggles, Tab leaves the group. * * Accessibility: container has role="group" with aria-label, * each chip uses role="switch" with aria-checked and a descriptive * title tooltip. */ export declare const CapabilityChipsRow: React.FunctionComponent; interface CapabilityChipProps { fragmentId: string; name?: string; description?: string; checked: boolean; disabled?: boolean; tabIndex: number; onToggle: (fragmentId: string, enabled: boolean) => void; onFocus: () => void; hoverService: HoverService; } /** * Individual capability toggle chip, styled like the search widget * option buttons (match case, regex). Uses inputOption theme colors * when enabled, transparent when disabled. */ export declare const CapabilityChip: React.NamedExoticComponent; export {}; //# sourceMappingURL=chat-capabilities-panel.d.ts.map