/** * Thin wrapper shim around `cmdk` (the shadcn `Command` primitive). * * Re-exports the named subcomponents so the FormCacheSelector imports them * from `lib/ui/command`. Lets tests mock a single module instead of cmdk's * internals, and decouples future swaps to a Kit-provided combobox. * * All exports are forwardRef wrappers that apply shadcn-style Tailwind classes * so the combobox renders with correct padding, hover/selected states, and * scroll containment out of the box — matching the standard shadcn spec. */ import * as React from 'react'; export declare const Command: React.ForwardRefExoticComponent<{ children?: React.ReactNode; } & Pick, HTMLDivElement>, "key" | keyof React.HTMLAttributes> & { ref?: React.Ref; } & { asChild?: boolean; }, "key" | keyof React.HTMLAttributes | "asChild"> & { label?: string; shouldFilter?: boolean; filter?: (value: string, search: string, keywords?: string[]) => number; defaultValue?: string; value?: string; onValueChange?: (value: string) => void; loop?: boolean; disablePointerSelection?: boolean; vimBindings?: boolean; } & React.RefAttributes> & { List: React.ForwardRefExoticComponent<{ children?: React.ReactNode; } & Pick, HTMLDivElement>, "key" | keyof React.HTMLAttributes> & { ref?: React.Ref; } & { asChild?: boolean; }, "key" | keyof React.HTMLAttributes | "asChild"> & { label?: string; } & React.RefAttributes>; Item: React.ForwardRefExoticComponent<{ children?: React.ReactNode; } & Omit, HTMLDivElement>, "key" | keyof React.HTMLAttributes> & { ref?: React.Ref; } & { asChild?: boolean; }, "key" | keyof React.HTMLAttributes | "asChild">, "onSelect" | "disabled" | "value"> & { disabled?: boolean; onSelect?: (value: string) => void; value?: string; keywords?: string[]; forceMount?: boolean; } & React.RefAttributes>; Input: React.ForwardRefExoticComponent, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes> & { ref?: React.Ref; } & { asChild?: boolean; }, "key" | "asChild" | keyof React.InputHTMLAttributes>, "onChange" | "value" | "type"> & { value?: string; onValueChange?: (search: string) => void; } & React.RefAttributes>; Group: React.ForwardRefExoticComponent<{ children?: React.ReactNode; } & Omit, HTMLDivElement>, "key" | keyof React.HTMLAttributes> & { ref?: React.Ref; } & { asChild?: boolean; }, "key" | keyof React.HTMLAttributes | "asChild">, "heading" | "value"> & { heading?: React.ReactNode; value?: string; forceMount?: boolean; } & React.RefAttributes>; Separator: React.ForwardRefExoticComponent, HTMLDivElement>, "key" | keyof React.HTMLAttributes> & { ref?: React.Ref; } & { asChild?: boolean; }, "key" | keyof React.HTMLAttributes | "asChild"> & { alwaysRender?: boolean; } & React.RefAttributes>; Dialog: React.ForwardRefExoticComponent, HTMLDivElement>, "key" | keyof React.HTMLAttributes> & { ref?: React.Ref; } & { asChild?: boolean; }, "key" | keyof React.HTMLAttributes | "asChild"> & { label?: string; shouldFilter?: boolean; filter?: (value: string, search: string, keywords?: string[]) => number; defaultValue?: string; value?: string; onValueChange?: (value: string) => void; loop?: boolean; disablePointerSelection?: boolean; vimBindings?: boolean; } & { overlayClassName?: string; contentClassName?: string; container?: HTMLElement; } & React.RefAttributes>; Empty: React.ForwardRefExoticComponent<{ children?: React.ReactNode; } & Pick, HTMLDivElement>, "key" | keyof React.HTMLAttributes> & { ref?: React.Ref; } & { asChild?: boolean; }, "key" | keyof React.HTMLAttributes | "asChild"> & React.RefAttributes>; Loading: React.ForwardRefExoticComponent<{ children?: React.ReactNode; } & Pick, HTMLDivElement>, "key" | keyof React.HTMLAttributes> & { ref?: React.Ref; } & { asChild?: boolean; }, "key" | keyof React.HTMLAttributes | "asChild"> & { progress?: number; label?: string; } & React.RefAttributes>; }; export declare const CommandList: React.ForwardRefExoticComponent, HTMLDivElement>, "key" | keyof React.HTMLAttributes> & { ref?: React.Ref; } & { asChild?: boolean; }, "key" | keyof React.HTMLAttributes | "asChild"> & { label?: string; } & React.RefAttributes, "ref"> & React.RefAttributes>; export declare const CommandEmpty: React.ForwardRefExoticComponent, HTMLDivElement>, "key" | keyof React.HTMLAttributes> & { ref?: React.Ref; } & { asChild?: boolean; }, "key" | keyof React.HTMLAttributes | "asChild"> & React.RefAttributes, "ref"> & React.RefAttributes>; export declare const CommandGroup: React.ForwardRefExoticComponent, HTMLDivElement>, "key" | keyof React.HTMLAttributes> & { ref?: React.Ref; } & { asChild?: boolean; }, "key" | keyof React.HTMLAttributes | "asChild">, "value" | "heading"> & { heading?: React.ReactNode; value?: string; forceMount?: boolean; } & React.RefAttributes, "ref"> & React.RefAttributes>; export declare const CommandItem: React.ForwardRefExoticComponent, HTMLDivElement>, "key" | keyof React.HTMLAttributes> & { ref?: React.Ref; } & { asChild?: boolean; }, "key" | keyof React.HTMLAttributes | "asChild">, "disabled" | "onSelect" | "value"> & { disabled?: boolean; onSelect?: (value: string) => void; value?: string; keywords?: string[]; forceMount?: boolean; } & React.RefAttributes, "ref"> & React.RefAttributes>; export declare const CommandSeparator: React.ForwardRefExoticComponent, HTMLDivElement>, "key" | keyof React.HTMLAttributes> & { ref?: React.Ref; } & { asChild?: boolean; }, "key" | keyof React.HTMLAttributes | "asChild"> & { alwaysRender?: boolean; } & React.RefAttributes, "ref"> & React.RefAttributes>; export declare const CommandInput: React.ForwardRefExoticComponent, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes> & { ref?: React.Ref; } & { asChild?: boolean; }, "key" | keyof React.InputHTMLAttributes | "asChild">, "type" | "onChange" | "value"> & { value?: string; onValueChange?: (search: string) => void; } & React.RefAttributes, "ref"> & React.RefAttributes>; //# sourceMappingURL=command.d.ts.map