import React from 'react'; import { type DialogContentProps, type DialogTriggerProps } from '../Dialog'; export type CommandPaletteProps = { open?: boolean; defaultOpen?: boolean; onOpenChange?: (open: boolean) => void; onSelect?: (value: string) => void; children: React.ReactNode; }; type CommandPaletteRootComponent = { (props: Readonly): React.JSX.Element; displayName?: string; }; declare const CommandPaletteRoot: CommandPaletteRootComponent; export type CommandPaletteTriggerProps = DialogTriggerProps; type CommandPaletteTriggerComponent = React.ForwardRefExoticComponent & React.RefAttributes>; declare const CommandPaletteTrigger: CommandPaletteTriggerComponent; export type CommandPaletteContentProps = DialogContentProps; type CommandPaletteContentComponent = React.ForwardRefExoticComponent & React.RefAttributes>; declare const CommandPaletteContent: CommandPaletteContentComponent; export type CommandPaletteInputProps = Omit, 'type' | 'value' | 'defaultValue' | 'id' | 'role' | 'className' | 'style'> & { label?: string; hideLabel?: boolean; className?: string; style?: React.CSSProperties; }; type CommandPaletteInputComponent = React.ForwardRefExoticComponent & React.RefAttributes>; declare const CommandPaletteInput: CommandPaletteInputComponent; export type CommandPaletteListProps = Omit, 'id' | 'role'>; type CommandPaletteListComponent = React.ForwardRefExoticComponent & React.RefAttributes>; declare const CommandPaletteList: CommandPaletteListComponent; export type CommandPaletteGroupProps = React.HTMLAttributes & { heading: string; }; type CommandPaletteGroupComponent = React.ForwardRefExoticComponent & React.RefAttributes>; declare const CommandPaletteGroup: CommandPaletteGroupComponent; export type CommandPaletteItemProps = Omit, 'value' | 'onSelect' | 'className' | 'style'> & { value: string; searchText?: string; keywords?: ReadonlyArray; onSelect?: (value: string) => void; className?: string; style?: React.CSSProperties; }; type CommandPaletteItemComponent = React.ForwardRefExoticComponent & React.RefAttributes>; declare const CommandPaletteItem: CommandPaletteItemComponent; export type CommandPaletteEmptyProps = React.HTMLAttributes; type CommandPaletteEmptyComponent = React.ForwardRefExoticComponent & React.RefAttributes>; declare const CommandPaletteEmpty: CommandPaletteEmptyComponent; export type CommandPaletteShortcutProps = React.HTMLAttributes; type CommandPaletteShortcutComponent = React.ForwardRefExoticComponent & React.RefAttributes>; declare const CommandPaletteShortcut: CommandPaletteShortcutComponent; type CommandPaletteComponent = typeof CommandPaletteRoot & { Trigger: typeof CommandPaletteTrigger; Content: typeof CommandPaletteContent; Input: typeof CommandPaletteInput; List: typeof CommandPaletteList; Group: typeof CommandPaletteGroup; Item: typeof CommandPaletteItem; Empty: typeof CommandPaletteEmpty; Shortcut: typeof CommandPaletteShortcut; }; export declare const CommandPalette: CommandPaletteComponent; export default CommandPalette; //# sourceMappingURL=index.d.ts.map