import * as React from '@theia/core/shared/react'; import { HoverService } from '@theia/core/lib/browser'; import { GenericCapabilitySelections } from '@theia/ai-core'; import { AvailableGenericCapabilities } from './generic-capabilities-service.js'; import { ServerToolsSection } from './generic-capabilities-tree.js'; export interface GenericCapabilitiesSectionProps { /** Current generic capability selections */ genericCapabilities: GenericCapabilitySelections; /** Called when a capability type's selection changes */ onGenericCapabilityChange: (type: keyof GenericCapabilitySelections, ids: string[]) => void; /** Called to reset all generic capabilities to stored defaults */ onResetGenericCapabilities: () => void; /** Available capabilities to select from */ availableCapabilities: AvailableGenericCapabilities; /** Items already in the agent prompt that should be disabled/greyed */ disabledCapabilities: GenericCapabilitySelections; /** Optional server tools section for the current model's provider */ serverTools?: ServerToolsSection; /** Whether the section is disabled */ disabled?: boolean; /** Hover service for tooltips */ hoverService: HoverService; } /** * Section component displaying generic capabilities in a tree layout. * Shows a unified multi-level tree with all capability types as roots, * groups as intermediate nodes, and items as leaves. * Includes a search bar for filtering capabilities. */ export declare const GenericCapabilitiesSection: React.FunctionComponent; //# sourceMappingURL=generic-capabilities-section.d.ts.map