// AUTO-GENERATED by scripts/generate-wrappers.mjs — do not edit by hand.
// Source: packages/core/manifest.json (component "command-palette").
import type { ElementType, ReactNode } from 'react';
import { CommandPalette as CommandPaletteController, type CommandPaletteOptions } from '@42/core/command-palette';
import { C42 } from '../C42';
const DEFAULT_HTML: string | null = "
\n
\n \n
\n
\n \n \n
\n
No results
\n
\n
";
export interface CommandPaletteProps extends Partial {
/** Element/tag rendered as the controller root. Defaults to `"div"`. */
as?: ElementType;
className?: string;
children?: ReactNode;
/** Fired on `commandpalette:open` — detail: `(no detail)` */
onOpen?: (detail: unknown, event: CustomEvent) => void;
/** Fired on `commandpalette:close` — detail: `(no detail)` */
onClose?: (detail: unknown, event: CustomEvent) => void;
/** Fired on `commandpalette:select` — detail: `{ value, item }` */
onSelect?: (detail: unknown, event: CustomEvent) => void;
/** Fired on `commandpalette:filter` — detail: `{ query, count }` */
onFilter?: (detail: unknown, event: CustomEvent) => void;
/** Extra props are forwarded to the rendered `