import { CommandPaletteProps } from '../components/widgets/CommandPalette'; import { ICommand } from '../core/registry/CommandRegistry'; export type ConnectedCommandPaletteProps = Omit, 'open' | 'commands' | 'onSelect' | 'onClose'> & { /** * Key that opens the palette when held with Cmd/Ctrl+Shift. Defaults to * `"p"`, matching VS Code's `Cmd+Shift+P`. Pass `null` to bind nothing. * * This sets the keybinding of the `shell.commandPalette` command, so it is * equivalent to registering that command with a `Mod+Shift+` binding. */ shortcutKey?: string | null; /** * Bind registered commands' shortcuts to the window, so the palette's own * shortcut works without `ShellLayout`. Defaults to `true`; `ShellLayout` * passes its `keyboardShortcuts` prop through. */ bindShortcuts?: boolean; }; /** * {@link CommandPalette} bound to the {@link commandRegistry}. * * Opens through the `shell.commandPalette` command (`Mod+Shift+P` by default), * so a menu item or button can open it too. Lists every registered command * whose `when` allows it, live, and runs the chosen one. * * `ShellLayout` mounts one for you; mounting another is harmless. */ export declare const ConnectedCommandPalette: ({ shortcutKey, bindShortcuts, ...props }: ConnectedCommandPaletteProps) => import("react/jsx-runtime").JSX.Element | null;