/** * The pieces of `ToolPicker`: the tool `Select` itself (grouped or flat), the tag * filter field, and the selected tool's capability badges. The picker owns the * state and composes these; the option-label and grouping helpers live here too. */ import type { ReactNode } from 'react'; /** The shared informational note every badge surface carries: declared, never enforced. */ export declare const BADGES_NOTE = "Declared capability labels \u2014 informational only. They describe what the tool touches; the server never enforces them."; export declare const ALL_TAGS = "__all_tags__"; interface ToolSelectProps { readonly tagsByTool: Readonly> | undefined; readonly filtered: readonly string[]; readonly value: string | null; readonly onChange: (toolName: string) => void; readonly placeholder: string; readonly ariaLabel: string | undefined; readonly disabled: boolean | undefined; readonly displayNames: Readonly> | undefined; readonly agentToolNames: ReadonlySet | undefined; } /** The tool select: grouped by tag when `tagsByTool` is present, else a flat list. * Either branch is a `Select`, which claims the enclosing `Field`'s control id. */ export declare function ToolSelect({ tagsByTool, filtered, value, onChange, placeholder, ariaLabel, disabled, displayNames, agentToolNames, }: ToolSelectProps): ReactNode; /** The tag filter: an "All tags" sentinel plus one option per distinct tag. */ export declare function TagFilterField({ allTags, tagFilter, onTagFilterChange, disabled, }: { readonly allTags: readonly string[]; readonly tagFilter: string; readonly onTagFilterChange: (value: string) => void; readonly disabled: boolean | undefined; }): ReactNode; /** The selected tool's DECLARED capability badges, read-only and informational. * Renders nothing unless the selected tool carries badges. */ export declare function SelectedToolBadges({ value, badgesByTool, idPrefix, }: { readonly value: string | null; readonly badgesByTool: Readonly> | undefined; readonly idPrefix: string; }): ReactNode; export {}; //# sourceMappingURL=tool-picker-parts.d.ts.map