import * as React$1 from 'react'; import { Command } from 'cmdk'; interface CommandSearchProps { open: boolean; onOpenChange: (open: boolean) => void; shortcut?: string | false; debounce?: number | false; minChars?: number; placeholder?: string; onQueryChange?: (query: string) => void; filter?: (query: string, itemValue: string) => boolean; shouldFilter?: boolean; className?: string; ref?: React$1.Ref; children?: React$1.ReactNode; showFooter?: boolean; } interface CommandSearchInputProps extends Omit, "children" | "className" | "onValueChange" | "size" | "value"> { className?: string; inputClassName?: string; size?: "sm" | "md" | "lg"; placeholder?: string; } type CommandSearchListProps = React$1.ComponentProps; interface CommandSearchItemProps extends Omit, "disabled" | "onSelect" | "value"> { value: string; onSelect?: () => void; disabled?: boolean; } type CommandSearchEmptyProps = React$1.ComponentProps; type CommandSearchGroupProps = React$1.ComponentProps; interface CommandSearchFooterProps extends React$1.ComponentProps<"div"> { children?: React$1.ReactNode; } interface CommandSearchContextValue { search: string; rawSearch: string; setRawSearch: (q: string) => void; minChars: number; placeholder: string; close: () => void; } declare function CommandSearchEmpty({ className, children, ref, ...props }: CommandSearchEmptyProps): React.ReactElement | null; declare function CommandSearchFooter({ className, children, ref, ...props }: CommandSearchFooterProps): React$1.ReactElement; declare function CommandSearchGroup({ heading, className, children, ref, ...props }: CommandSearchGroupProps): React.ReactElement; declare function CommandSearchInput({ className, inputClassName, ref, size, autoComplete, autoCorrect, autoFocus, spellCheck, ...props }: CommandSearchInputProps): React.ReactElement; declare function CommandSearchItem({ value, onSelect, disabled, className, children, ref, ...props }: CommandSearchItemProps): React.ReactElement; declare function CommandSearchList({ className, children, ref, ...props }: CommandSearchListProps): React.ReactElement; declare function CommandSearchRoot({ open, onOpenChange, shortcut, debounce: debounceProp, minChars, placeholder, onQueryChange, filter, shouldFilter, className, ref, children, showFooter, }: CommandSearchProps): React.ReactElement; /** * @module CommandSearch * Description for CommandSearch component. */ declare const CommandSearch: typeof CommandSearchRoot & { displayName: string; Input: typeof CommandSearchInput; List: typeof CommandSearchList; Item: typeof CommandSearchItem; Empty: typeof CommandSearchEmpty; Group: typeof CommandSearchGroup; Footer: typeof CommandSearchFooter; }; export { CommandSearch, type CommandSearchContextValue, type CommandSearchEmptyProps, type CommandSearchFooterProps, type CommandSearchGroupProps, type CommandSearchInputProps, type CommandSearchItemProps, type CommandSearchListProps, type CommandSearchProps };