export type { CommandItem } from './ui-app.types'; /** * SvCommand - a ⌘K command palette: a fuzzy-searchable list of actions in a * centered, focus-trapped dialog. Built on the shared primitives (portal + * focus trap + scroll lock + dismissable layer) and the pure `fuzzyScore` * matcher. Optionally binds a global hotkey to toggle itself. Emits WAI-ARIA * combobox markup (activedescendant). * * ```svelte * run(c)} /> // Cmd/Ctrl+K opens it * ``` */ import type { CommandItem } from './ui-app.types'; type Props = { open?: boolean; onClose?: () => void; commands: ReadonlyArray; onRun?: (cmd: CommandItem) => void; placeholder?: string; emptyText?: string; /** Global toggle hotkey (Cmd/Ctrl + key). `false` disables it. Default 'mod+k'. */ hotkey?: 'mod+k' | 'mod+p' | false; }; declare const SvCommand: import("svelte").Component; type SvCommand = ReturnType; export default SvCommand;