import * as React from 'react'; import { DialogProps } from '@radix-ui/react-dialog'; import { Command as Command$1 } from 'cmdk'; type DirectionType = "rtl" | "ltr"; type PositionType = "top" | "bottom" | "right" | "left"; interface CommandProps extends React.ComponentPropsWithoutRef { } interface CommandDialogProps extends DialogProps { } interface CommandInputProps extends React.ComponentPropsWithoutRef { } interface CommandListProps extends React.ComponentPropsWithoutRef { } interface CommandEmptyProps extends React.ComponentPropsWithoutRef { } interface CommandGroupProps extends React.ComponentPropsWithoutRef { } interface CommandSeparatorProps extends React.ComponentPropsWithoutRef { } interface CommandItemProps extends React.ComponentPropsWithoutRef { } interface CommandShortcutProps extends React.HTMLAttributes { } declare const Command: React.ForwardRefExoticComponent>; declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => React.JSX.Element; declare const CommandInput: React.ForwardRefExoticComponent>; declare const CommandList: React.ForwardRefExoticComponent>; declare const CommandEmpty: React.ForwardRefExoticComponent>; declare const CommandGroup: React.ForwardRefExoticComponent>; declare const CommandSeparator: React.ForwardRefExoticComponent>; declare const CommandItem: React.ForwardRefExoticComponent>; declare const CommandShortcut: { ({ className, ...props }: React.HTMLAttributes & CommandShortcutProps): React.JSX.Element; displayName: string; }; type FullCommandItem = { type: "group" | "separator"; heading?: string; items?: { icon: React.ElementType; label: string | React.ReactNode; action: () => void; shortcut?: string; }[]; }; type FullCommandProps = { items: FullCommandItem[]; direction?: DirectionType; onActionClick?: () => void; texts?: { searchPlaceholder?: string; emptyText?: string; }; }; declare const FullCommand: ({ items, direction, texts, onActionClick, }: FullCommandProps) => React.JSX.Element; type AppCommandProps = { commandProps: Omit; dialogProps: DialogProps; onActionClick?: () => void; }; declare const AppCommand: ({ commandProps, dialogProps, onActionClick, }: AppCommandProps) => React.JSX.Element; export { AppCommand as A, type CommandInputProps as C, type DirectionType as D, FullCommand as F, type PositionType as P, Command as a, CommandDialog as b, CommandInput as c, CommandList as d, CommandEmpty as e, CommandGroup as f, CommandItem as g, CommandShortcut as h, CommandSeparator as i, type FullCommandItem as j };