import type { SlashCommand } from "../commands/types.js"; export type CommandPaletteProps = { open: boolean; items: SlashCommand[]; highlight: number; /** Hover/click selects a row. */ onHighlight: (index: number) => void; /** Click runs the row (same path as Enter). */ onRun: (index: number) => void; /** Footer arg hint shown in arg-hint mode (e.g. ""). */ argHintText: string; /** id used for aria-activedescendant wiring from the textarea. */ listboxId: string; /** Accessible list label. Defaults to "Slash commands". */ label?: string | undefined; /** Badge shown for destructive commands. Defaults to "danger". */ dangerLabel?: string | undefined; }; /** * The slash-command palette: a popover anchored above the textarea, rendered * entirely from the filtered registry. Dark-first, Linear/Vercel-calm, using * the opengeni#46 design tokens. Full keyboard nav lives in useSlashCommands; * this component is presentational + aria. */ export declare function CommandPalette({ open, items, highlight, onHighlight, onRun, argHintText, listboxId, label: labelProp, dangerLabel, }: CommandPaletteProps): import("react").JSX.Element;