import type { CommandPaletteProps, CommandPaletteTriggerProps, UseCommandPaletteOptions, UseCommandPaletteReturn } from './CommandPalette.types.js'; /** * Hook that manages open state and binds the ⌘K / Ctrl+K hotkey. * Pass `{ hotkey: false }` to opt out and wire your own toggle. */ export declare function useCommandPalette({ hotkey }?: UseCommandPaletteOptions): UseCommandPaletteReturn; /** * Command palette — keyboard-driven search overlay built on cmdk + Radix Dialog. * Render once near the root of your app; use `useCommandPalette()` (or your own * state) to control `open`. * * @example * const { open, setOpen } = useCommandPalette(); * item.href && router.push(item.href)} * /> */ export declare function CommandPalette({ open, onOpenChange, sections, placeholder, title, description, emptyText, footer, onItemSelect, contentClassName, recent, onRecentChange, persistRecentKey, recentLimit, recentTitle, onSearchChange, }: CommandPaletteProps): import("react/jsx-runtime").JSX.Element; /** * Pill-shaped trigger button for the command palette. Use in a Navbar or * anywhere you want a visible search affordance. * * @example * setOpen(true)} /> */ export declare function CommandPaletteTrigger({ onClick, label, shortcut, className, style, sx, }: CommandPaletteTriggerProps): import("react/jsx-runtime").JSX.Element;