import * as React$1 from 'react'; import React__default, { ChangeEventHandler, ReactNode, FC, MutableRefObject, ComponentType, ErrorInfo, ReactElement } from 'react'; import * as AccordionPrimitive from '@radix-ui/react-accordion'; import * as class_variance_authority_types from 'class-variance-authority/types'; import { ComponentWithAs, HTMLTailwindStyledComponentProps, OptionType } from '@paalan/react-shared/types'; import { VariantProps } from 'class-variance-authority'; import { B as BoxProps, H as HeadingProps, T as TextProps } from '../Text-DNZ3-pK9.js'; import * as react_jsx_runtime from 'react/jsx-runtime'; import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog'; import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio'; import * as AvatarPrimitive from '@radix-ui/react-avatar'; import { AllColorVariant, ColorVariant } from '@paalan/react-shared/system'; import { DayPicker, DayPickerBase, DateRange } from 'react-day-picker'; import * as CheckboxPrimitive from '@radix-ui/react-checkbox'; import * as CollapsiblePrimitive from '@radix-ui/react-collapsible'; import * as _radix_ui_react_dialog from '@radix-ui/react-dialog'; import { DialogProps as DialogProps$1 } from '@radix-ui/react-dialog'; import * as ContextMenuPrimitive from '@radix-ui/react-context-menu'; import { Table as Table$1, Column, ColumnDef, Row, SortingState, Cell, Header } from '@tanstack/react-table'; import z from 'zod'; import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu'; import { DropdownMenuProps as DropdownMenuProps$1 } from '@radix-ui/react-dropdown-menu'; import { ErrorBoundaryProps as ErrorBoundaryProps$1 } from 'react-error-boundary'; import * as axios from 'axios'; import { HttpError } from '@paalan/react-shared/lib'; import * as react_hook_form from 'react-hook-form'; import { FieldValues, Path, ControllerRenderProps, UseFormReturn, SubmitHandler, SubmitErrorHandler, UseFormReset, FieldPath, ControllerProps } from 'react-hook-form'; import * as RadioGroupPrimitive from '@radix-ui/react-radio-group'; import * as SelectPrimitive from '@radix-ui/react-select'; import * as _radix_ui_react_slot from '@radix-ui/react-slot'; import * as LabelPrimitive from '@radix-ui/react-label'; import * as HoverCardPrimitive from '@radix-ui/react-hover-card'; import * as input_otp from 'input-otp'; import { LoadingIcon } from '@paalan/react-icons'; import * as _radix_ui_react_context from '@radix-ui/react-context'; import * as MenubarPrimitive from '@radix-ui/react-menubar'; import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu'; import { UsePaginationParams } from '@paalan/react-hooks'; import * as PopoverPrimitive from '@radix-ui/react-popover'; import * as ProgressPrimitive from '@radix-ui/react-progress'; import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area'; import * as SeparatorPrimitive from '@radix-ui/react-separator'; import * as SliderPrimitive from '@radix-ui/react-slider'; import * as SwitchPrimitives from '@radix-ui/react-switch'; import * as TabsPrimitive from '@radix-ui/react-tabs'; import * as TogglePrimitive from '@radix-ui/react-toggle'; import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group'; import * as TooltipPrimitive from '@radix-ui/react-tooltip'; import * as recharts_types_util_payload_getUniqPayload from 'recharts/types/util/payload/getUniqPayload'; import * as recharts_types_component_Tooltip from 'recharts/types/component/Tooltip'; import * as recharts_types_util_types from 'recharts/types/util/types'; import * as recharts_types_component_DefaultTooltipContent from 'recharts/types/component/DefaultTooltipContent'; import * as RechartsPrimitive from 'recharts'; import { Drawer as Drawer$1 } from 'vaul'; import { LucideIcon } from 'lucide-react'; declare const AccordionRoot: React$1.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React$1.RefAttributes>; declare const AccordionTrigger: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const AccordionContent: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const AccordionItem: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; /** * Represents an item in the Accordion component. */ interface AccordionItem { /** The value associated with the Accordion item. */ value: string; /** The title of the Accordion item. */ title: React$1.ReactNode; /** The content of the Accordion item. */ content: React$1.ReactNode; } /** * Props for the Accordion component. */ type AccordionProps = React$1.ComponentProps & { /** The items to render in the Accordion. */ items: AccordionItem[]; /** * The type of Accordion. Defaults to `single`. * @default 'single' */ type: 'single' | 'multiple'; /** * Whether an accordion item can be collapsed after it has been opened. * @default false */ collapsible?: boolean; }; /** * Renders an accordion component with the given items. */ declare const Accordion: React$1.FC; declare const AlertRoot: React$1.ForwardRefExoticComponent & VariantProps<(props?: ({ colorVariant?: "primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "danger" | "default" | null | undefined; softBackground?: "primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "danger" | null | undefined; solidBackground?: "primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "danger" | null | undefined; } & class_variance_authority_types.ClassProp) | undefined) => string> & BoxProps & React$1.RefAttributes>; declare const AlertTitle: React$1.ForwardRefExoticComponent & BoxProps & React$1.RefAttributes>; declare const AlertDescription: React$1.ForwardRefExoticComponent & BoxProps & React$1.RefAttributes>; interface AlertProps extends Omit, 'children'> { /** Title for the alert */ title?: string; /** Description for the alert */ description?: string; /** * Icon for the alert */ icon?: React$1.ReactNode; /** * Whether the alert is dismissible or not */ dismissible?: boolean; /** onDismiss functions call when the alert is dismissed */ onDismiss?: () => void; } /** * Alerts are used to communicate a state that affects a system, feature, or page. */ declare const Alert: ComponentWithAs<'div', AlertProps>; declare const AlertDialogRoot: React$1.FC; declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent>; declare const AlertDialogContent: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const AlertDialogHeader: { ({ className, ...props }: React$1.HTMLAttributes): react_jsx_runtime.JSX.Element; displayName: string; }; declare const AlertDialogFooter: { ({ className, ...props }: React$1.HTMLAttributes): react_jsx_runtime.JSX.Element; displayName: string; }; declare const AlertDialogTitle: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const AlertDialogDescription: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const AlertDialogAction: React$1.ForwardRefExoticComponent, "ref"> & VariantProps<(props?: ({ variant?: "primary" | "secondary" | "info" | "success" | "warning" | "danger" | "default" | "outline" | "ghost" | null | undefined; rounded?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full" | null | undefined; size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined; } & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes>; declare const AlertDialogCancel: React$1.ForwardRefExoticComponent, "ref"> & VariantProps<(props?: ({ variant?: "primary" | "secondary" | "info" | "success" | "warning" | "danger" | "default" | "outline" | "ghost" | null | undefined; rounded?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full" | null | undefined; size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined; } & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes>; interface AlertDialogProps extends React$1.ComponentPropsWithoutRef { /** * The trigger element. Must be a `Button` or `IconButton`. */ trigger?: React$1.ReactNode; /** * The icon of the alert dialog. */ icon?: React$1.ReactNode; /** * The class name for the icon. */ iconClassName?: string; /** * The header of the alert dialog. */ header?: { /** * The title of the alert dialog. */ title?: React$1.ReactNode; /** * The description of the alert dialog. */ description?: React$1.ReactNode; /** * The class name for the header. */ className?: string; }; /** * The footer class name. */ footerClassName?: string; /** * The cancel button text. */ cancelButtonText?: string; /** * The confirm button text. */ confirmButtonText?: string; /** * The cancel button click handler. */ onCancel?: (e: React$1.MouseEvent) => void; /** * The confirm button click handler. */ onConfirm?: (e: React$1.MouseEvent) => void; /** * The props for the cancel button. */ cancelButtonProps?: React$1.ComponentPropsWithoutRef; /** * The props for the confirm button. */ confirmButtonProps?: React$1.ComponentPropsWithoutRef; } declare const AlertDialog: React$1.FC; declare const AspectRatio: React$1.ForwardRefExoticComponent>; declare const AvatarRoot: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const AvatarImage: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const AvatarFallback: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; interface AvatarProps extends Omit, 'children'> { /** * The image source to use for the avatar. */ src?: string; /** * The fallback content to use when the `src` is not available. */ fallback?: React$1.ReactNode; /** * The alternate text to use for the avatar image. */ alt?: string; /** * Props to pass to the `AvatarImage` component. */ avatarImageProps?: React$1.ComponentPropsWithoutRef; /** * Props to pass to the `AvatarFallback` component. */ avatarFallbackProps?: React$1.ComponentPropsWithoutRef; } declare const Avatar: React$1.ForwardRefExoticComponent>; interface InputProps extends HTMLTailwindStyledComponentProps<'input'> { /** * whether the input is invalid */ isInvalid?: boolean; /** * label for the input */ label?: string; /** * inline input or not */ inline?: boolean; /** * input class name for styling */ inputClassName?: string; /** * Optional value change handler for the number input */ onValueChange?: (value: string) => void; /** * The error message for the checkbox */ errorMessage?: string; /** * max length of the input */ maxLength?: number; } declare const Input: ComponentWithAs<'input', InputProps>; interface AvatarUploadProps { /** * The src of the avatar image. */ src: string; /** * onChange event handler for the input element. */ onChange?: ChangeEventHandler; /** * If defined, this function will be called when the user selects a new avatar image. * @param file file object * @param blobUrl blob url of the file */ onAvatarChange?: (file: File, blobUrl: string) => void; /** * If `true`, the component will be in a loading state. */ isLoading?: boolean; /** * The class name to apply to the root element. */ className?: string; /** * The class name to apply to the loading element. */ loadingClassName?: string; /** * The element to use as the avatar image. * @example */ avatarImage?: ReactNode; /** * The element to use as the fallback icon. * @example */ avatarFallbackIcon?: ReactNode; /** * The props to apply to the input element. */ inputProps?: InputProps; } declare const AvatarUpload: React$1.ForwardRefExoticComponent>; declare const badgeVariants: (props?: ({ variant?: "primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "danger" | "outline" | null | undefined; size?: "sm" | "md" | "lg" | null | undefined; } & class_variance_authority_types.ClassProp) | undefined) => string; interface BadgeProps extends VariantProps, Omit { /** * Optional label for the badge */ label?: string; } /** * Displays a badge or a component that looks like a badge. */ declare const Badge: ComponentWithAs<'div', BadgeProps>; declare const BUTTON_VARIANTS: readonly ["solid", "surface", "outline", "soft", "ghost", "link"]; type ButtonVariant = (typeof BUTTON_VARIANTS)[number]; declare const buttonVariants: (props?: ({ variant?: "primary" | "secondary" | "info" | "success" | "warning" | "danger" | "default" | "outline" | "ghost" | null | undefined; rounded?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full" | null | undefined; size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined; } & class_variance_authority_types.ClassProp) | undefined) => string; interface ButtonProps extends Omit, Omit, 'variant'> { asChild?: boolean; /** * Optional click handler */ onClick?: (e: React$1.MouseEvent) => void; /** * Optional label for the button */ label?: string; /** * Optional variant for the button (solid, outline, ghost, soft, link). * @default solid */ variant?: ButtonVariant; /** * Optional color for the button, * @default primary */ color?: AllColorVariant; /** * Optional left icon for the button */ leftIcon?: React$1.ReactNode; /** * Optional right icon for the button */ rightIcon?: React$1.ReactNode; /** * Optional loading for the button */ isLoading?: boolean; /** * Optional loading text for the button */ loadingText?: React$1.ReactNode; /** * Optional wrapper class name for the button and icons (if any) */ wrapperClassName?: string; /** * Optional unstyled button */ unstyled?: boolean; } /** * Primary UI component for user interaction */ declare const Button: ComponentWithAs<'button', ButtonProps>; type CalendarProps = React$1.ComponentProps; declare const Calendar: React$1.FC; type OmitColorFromHTMLAttributes = Omit, 'color'>; type OmitColorAndChildrenFromHTMLAttributes = Omit, 'children' | 'color'>; declare const CardRoot: ComponentWithAs<'div', OmitColorFromHTMLAttributes>; declare const CardHeader: ComponentWithAs<'div', OmitColorFromHTMLAttributes>; declare const CardTitle: ComponentWithAs<'h3', HeadingProps>; declare const CardDescription: ComponentWithAs<'p', OmitColorAndChildrenFromHTMLAttributes>; declare const CardContent: ComponentWithAs<'div', OmitColorFromHTMLAttributes>; declare const CardFooter: ComponentWithAs<'div', OmitColorFromHTMLAttributes>; type CardCustomHeaderProps = { /** * Optional title for the card header */ title: React$1.ReactNode; /** * Optional class name for the card header title */ titleClassName?: string; /** * Optional description for the card header */ description?: React$1.ReactNode; /** * Optional class name for the card header description */ descriptionClassName?: string; }; type CardProps = React$1.ComponentPropsWithoutRef & { /** * content for the card */ children: React$1.ReactNode; /** * Optional header for the card */ header?: CardCustomHeaderProps | React$1.ReactNode; /** * Optional class name for the card header */ headerClassName?: string; /** * Optional class name for the card content */ contentClassName?: string; /** * Optional footer for the card */ footer?: React$1.ReactNode; /** * Optional class name for the card footer */ footerClassName?: string; }; declare const Card: ComponentWithAs<'div', CardProps>; declare const checkboxVariants: (props?: ({ variant?: "primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "danger" | "accent" | null | undefined; } & class_variance_authority_types.ClassProp) | undefined) => string; declare const CheckboxRoot: React$1.ForwardRefExoticComponent, "ref"> & { variant?: CheckboxProps['variant']; indeterminate?: boolean | undefined; } & React$1.RefAttributes>; interface CheckboxProps extends React$1.ComponentPropsWithoutRef { /** Label for the checkbox */ label?: React$1.ReactNode; /** Whether the checkbox is checked or not */ checked?: boolean; /** Whether the checkbox is disabled or not */ disabled?: boolean; /** Callback when the checkbox value changes */ onCheckedChange?: (checked: boolean) => void; /** Variant of the checkbox */ variant?: VariantProps['variant']; /** * Whether the checkbox is swapped to the right or not */ swapRight?: boolean; /** * The class name for the checkbox label */ labelClassName?: string; /** * Whether the checkbox is invalid. */ 'aria-invalid'?: boolean; /** * whether the checkbox is invalid */ isInvalid?: boolean; /** * The error message for the checkbox */ errorMessage?: string; /** * Whether the checkbox is indeterminate or not */ indeterminate?: boolean; /** * The class name for the checkbox root container */ rootClassName?: string; } declare const Checkbox: React$1.ForwardRefExoticComponent>; interface CheckboxGroupProps { /** options for the checkbox group */ options: Array; /** selectedValues for the checkbox group */ selectedValues: string[] | undefined; /** Callback when the checkbox value changes */ onSelectedValueChange: (selectedValues: string[]) => void; /** Label for the checkbox */ label?: ReactNode; /** * The class name for the label */ labelClassName?: string; /** * Whether the checkbox group is inline or not */ inline?: boolean; /** Variant of the checkbox */ variant?: CheckboxProps['variant']; /** * Whether the checkbox is swapped to the right or not */ swapRight?: boolean; /** * The class name for the checkbox group */ className?: string; /** * Whether the checkbox group is required */ required?: boolean; /** * Whether the checkbox group is invalid. */ 'aria-invalid'?: boolean; /** * whether the checkbox group is invalid */ isInvalid?: boolean; /** * The error message for the checkbox */ errorMessage?: string; } declare const CheckboxGroup: React__default.ForwardRefExoticComponent>; interface CheckboxInputProps extends Omit, 'as' | 'children'> { /** Label for the checkbox */ label?: string; /** Whether the checkbox is checked or not */ checked?: boolean; /** Whether the checkbox is disabled or not */ disabled?: boolean; /** Callback when the checkbox value changes */ onCheckedChange?: (checked: boolean) => void; /** * Whether the checkbox is swapped to the right or not */ swapRight?: boolean; /** * The class name for the checkbox label */ labelClassName?: string; /** * Whether the checkbox is invalid. */ 'aria-invalid'?: boolean; /** * whether the checkbox is invalid */ isInvalid?: boolean; /** * The error message for the checkbox */ errorMessage?: string; /** * The parent class name for the checkbox */ parentClassName?: string; } declare const CheckboxInput: React__default.ForwardRefExoticComponent>; /** * An interactive component which expands/collapses a panel. */ declare const Collapsible: React$1.ForwardRefExoticComponent>; declare const CollapsibleTrigger: React$1.ForwardRefExoticComponent>; declare const CollapsibleContent: React$1.ForwardRefExoticComponent>; interface CommandGroupItem { /** * Optional icon to display for the command item */ icon?: React.ReactNode; /** * The label for the command item */ label: string; /** * Optional shortcut to display for the command item */ shortcut?: string; /** * Optional click handler */ onClick?: () => void; /** * Optional id for the command item */ className?: string; } interface CommandGroupList { /** * The heading for the command group */ heading: string; /** * The items for the command group */ items: CommandGroupItem[]; /** * Optional className for the command group */ className?: string; } interface CommandNoResultFoundProps { /** * The number of options in the popover list */ optionsLength: number; /** * Optional message to display when no results are found * @default 'No results found for "{search}".'' * */ emptyOptionMessage?: string; /** * Optional content to display when no results are found */ emptyOptionContent?: ReactNode; /** * Optional search value */ searchValue: string; /** * Optional initial search content when the search value is empty */ initialSearchContent?: ReactNode; } interface PopoverModalContentProps extends Omit { /** * List of items to be displayed in the combobox */ options: OptionType[]; /** * Optional placeholder for the search input * @default Search... * */ searchPlaceholder?: string; /** * Optional value for the combobox */ value?: string; /** * * @param value the value to set * @returns void */ onValueChange?: (value: string) => void; /** * Optional commandClassName for the combobox */ commandClassName?: string; /** * Optional className for the CommandInput */ commandInputClassName?: string; /** * Optional className for the CommandGroup */ commandGroupClassName?: string; /** * Optional className for the CommandItem */ commandItemClassName?: string; /** * Optional className for the CheckIcon */ checkIconClassName?: (value: string) => string | string; /** * @param option the option to filter * @param value the value to filter by * @param index the index of the option * @returns boolean whether the option should be displayed */ filter?: (option: OptionType, value: string, index: number) => boolean; /** * filterBy the option to filter by label, value, both, metadata or all * - "label" will filter by label key in the option * - "value" will filter by value key in the option * - "metadata" will filter by the metadata key in the option * - "all" will filter by label, value and metadata keys in the option * - "both" will filter by label and value keys in the option * @default label */ filterBy?: 'label' | 'value' | 'both' | 'metadata' | 'all'; /** * Whether the combobox is multi */ isMulti?: boolean; /** * Whether the combobox is loading */ isLoading?: boolean; /** * Optional loading message for the combobox * @default 'Loading...' */ loadingText?: ReactNode; /** * Optional search value for the combobox */ searchValue?: string; /** * * @param search the search value to set * @returns void */ onSearchValueChange?: (search: string) => void; /** * Optional whether to show the check icon * @default true */ showCheckIcon?: boolean; } declare const PopoverModalContent: FC; interface ComboboxProps extends Omit { /** * List of items to be displayed in the combobox */ options: Array; /** * Whether the combobox is open */ open?: boolean; /** * * @param open whether the combobox is open * @returns void */ onOpenChange?: (open: boolean) => void; /** * Optional label for the combobox */ label?: React__default.ReactNode; /** * Optional placeholder for the combobox * @default Select... * */ placeholder?: string; /** * Whether the combobox is required */ required?: boolean; /** * Optional disabled for the combobox */ disabled?: boolean; /** * Optional selectedValues for the combobox */ value?: string; /** * Optional onValueChange handler for the combobox */ onValueChange?: (value: string) => void; /** * Optional onBlur handler for the combobox */ onBlur?: () => void; /** * Whether the select is invalid. */ 'aria-invalid'?: boolean; /** * whether the select is invalid */ isInvalid?: boolean; /** * Optional inline for the combobox */ inline?: boolean; /** * Optional triggerClassName for the combobox */ triggerClassName?: string; /** * Optional contentClassName for the combobox */ contentClassName?: string; /** * Optional className for the combobox */ className?: string; /** * Optional id for the combobox */ id?: string; /** * The error message for the combobox */ errorMessage?: string; /** * onClear handler for the combobox to clear the value */ onClear?: () => void; /** * Whether the combobox is a render within body container or not * @default true */ modal?: boolean; } /** * Autocomplete input and command palette with a list of suggestions. */ declare const Combobox: React__default.ForwardRefExoticComponent>; declare const CommandModal: React$1.ForwardRefExoticComponent & { label?: string | undefined; shouldFilter?: boolean | undefined; filter?: ((value: string, search: string) => number) | undefined; defaultValue?: string | undefined; value?: string | undefined; onValueChange?: ((value: string) => void) | undefined; loop?: boolean | undefined; vimBindings?: boolean | undefined; } & React$1.RefAttributes, "ref"> & React$1.RefAttributes>; interface CommandDialogProps extends DialogProps$1 { } declare const CommandDialog: React$1.FC; declare const CommandInput: React$1.ForwardRefExoticComponent, "onChange" | "type" | "value"> & { value?: string | undefined; onValueChange?: ((search: string) => void) | undefined; } & React$1.RefAttributes, "ref"> & React$1.RefAttributes>; declare const CommandList: React$1.ForwardRefExoticComponent & React$1.RefAttributes, "ref"> & React$1.RefAttributes>; declare const CommandEmpty: React$1.ForwardRefExoticComponent & React$1.RefAttributes, "ref"> & React$1.RefAttributes>; declare const CommandGroup: React$1.ForwardRefExoticComponent, "heading" | "value"> & { heading?: React$1.ReactNode; value?: string | undefined; forceMount?: boolean | undefined; } & React$1.RefAttributes, "ref"> & React$1.RefAttributes>; declare const CommandSeparator: React$1.ForwardRefExoticComponent & { alwaysRender?: boolean | undefined; } & React$1.RefAttributes, "ref"> & React$1.RefAttributes>; declare const CommandLoading: React$1.ForwardRefExoticComponent & { progress?: number | undefined; } & React$1.RefAttributes, "ref"> & React$1.RefAttributes>; declare const CommandItem: React$1.ForwardRefExoticComponent, "onSelect" | "value" | "disabled"> & { disabled?: boolean | undefined; onSelect?: ((value: string) => void) | undefined; value?: string | undefined; forceMount?: boolean | undefined; } & React$1.RefAttributes, "ref"> & React$1.RefAttributes>; declare const CommandShortcut: { ({ className, ...props }: React$1.HTMLAttributes): react_jsx_runtime.JSX.Element; displayName: string; }; interface CommandProps extends Omit, 'children'> { /** * Optional input options for the command input field */ inputOptions?: React$1.ComponentPropsWithoutRef; /** * Optional content to display when no results are found */ emptyResultContent?: React$1.ReactNode; /** * Optional groups to display in the command dialog */ groups: CommandGroupList[]; } declare const Command: React$1.FC; declare const CommandNoResultFound: React$1.FC; declare const ContextMenu: React$1.FC; declare const ContextMenuTrigger: React$1.ForwardRefExoticComponent>; declare const ContextMenuGroup: React$1.ForwardRefExoticComponent>; declare const ContextMenuPortal: React$1.FC; declare const ContextMenuSub: React$1.FC; declare const ContextMenuRadioGroup: React$1.ForwardRefExoticComponent>; declare const ContextMenuSubTrigger: React$1.ForwardRefExoticComponent, "ref"> & { inset?: boolean | undefined; } & React$1.RefAttributes>; declare const ContextMenuSubContent: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const ContextMenuContent: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const ContextMenuItem: React$1.ForwardRefExoticComponent, "ref"> & { inset?: boolean | undefined; } & React$1.RefAttributes>; declare const ContextMenuCheckboxItem: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const ContextMenuRadioItem: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const ContextMenuLabel: React$1.ForwardRefExoticComponent, "ref"> & { inset?: boolean | undefined; } & React$1.RefAttributes>; declare const ContextMenuSeparator: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const ContextMenuShortcut: { ({ className, ...props }: React$1.HTMLAttributes): react_jsx_runtime.JSX.Element; displayName: string; }; type DataTableInstance = Table$1; interface DataTableFacetFilterOption { label: string; value: string; icon?: React.ComponentType<{ className?: string; }>; } interface DataTableFacetFilterProps { options: DataTableFacetFilterOption[]; title: ReactNode; column?: Column; emptyResultMessage?: ReactNode; className?: string; searchPlaceholder?: string; } interface DataTableFacetFilterColumn extends DataTableFacetFilterProps { accessorKey: string; } interface DataTableActionItem extends DataTableFacetFilterOption { label: string; value: string; onClick?: (value: string, e: React.MouseEvent) => void; subLabels?: DataTableFacetFilterOption[]; } interface DataTablePaginationType { enabled: boolean; currentPage?: number; pageSize?: number; sizes?: number[]; } interface DataTableSearchFilter { enabled: boolean; accessorKey: string; placeholder?: string; className?: string; } interface DataTableCustomSearchFilter { enabled: boolean; customInput: ReactNode; } type DataTableSearchFilterColumn = DataTableSearchFilter | DataTableCustomSearchFilter; type DataTableColumnDef = ColumnDef; type DataTableRow = Row; interface DataTableProps { /** * provide the columns to render in the table */ columns: DataTableColumnDef[]; /** * provide the data to render in the table */ rows: TRow[]; /** * enable the selectable checkbox input in the table header */ enableSelectableTable?: boolean; /** * provide the column accessorKey value to search the table */ search?: DataTableSearchFilterColumn; /** * provide the column accessorKey value to filter the table */ facetFilterColumns?: DataTableFacetFilterColumn[]; /** * show the table toolbar */ showTableConfigure?: boolean; /** * provide the pagination options */ pagination?: DataTablePaginationType; /** * additional class name to apply to the component */ className?: string; /** * additional class name to apply to the table container */ tableContainerClassName?: string; /** * provide the message to display when no results are found in the table * @default 'No results.' * @type React.ReactNode * @example * @example No tasks found.} /> */ noResultsMessage?: ReactNode; /** * ref to the table instance */ tableInstanceRef?: MutableRefObject | undefined>; /** * additional content to render on the right side of the table */ toolbarRightSideContent?: ReactNode; /** * provide the sorting columns state */ sortingColumns?: SortingState; /** * * @param cell single cell of the table * @returns classname */ getCellClassName?: (cell: Cell) => string | undefined; /** * * @param header single header of the table * @returns classname */ getHeadClassName?: (header: Header) => string | undefined; } /** * The DataTable component is used to display data in a tabular format. * It is a wrapper around the react-table component. */ declare const DataTable: ({ columns, rows, enableSelectableTable, search, facetFilterColumns, showTableConfigure, pagination, className, tableContainerClassName, noResultsMessage, tableInstanceRef, toolbarRightSideContent, sortingColumns, getCellClassName, getHeadClassName, }: DataTableProps) => react_jsx_runtime.JSX.Element; interface DataTableColumnHeaderProps extends Omit, 'title'> { column: Column; title: ReactNode; isSimpleSort?: boolean; } declare const DataTableColumnHeader: ({ column, title, className, isSimpleSort, }: DataTableColumnHeaderProps) => react_jsx_runtime.JSX.Element; declare const DataTableFacetedFilter: ({ column, title, options, emptyResultMessage, className, searchPlaceholder, }: DataTableFacetFilterProps) => react_jsx_runtime.JSX.Element; interface DataTablePaginationProps { table: Table$1; pagination?: DataTablePaginationType; enableSelectableTable?: boolean; } declare function DataTablePagination({ table, pagination, enableSelectableTable, }: DataTablePaginationProps): react_jsx_runtime.JSX.Element; interface DataTableRowActionsProps { row: DataTableRow; rowSchema: z.AnyZodObject; actionItems: DataTableActionItem[]; } declare const DataTableRowActions: ({ row, rowSchema, actionItems }: DataTableRowActionsProps) => react_jsx_runtime.JSX.Element; interface DataTableToolbarProps { /** * provide the table instance */ table: Table$1; /** * provide the column accessorKey value to search the table */ search?: DataTableSearchFilterColumn; /** * provide the column accessorKey value to filter the table */ facetFilterColumns?: DataTableFacetFilterColumn[]; /** * show the table toolbar */ showTableConfigure?: boolean; /** * provide the right side content for the toolbar */ toolbarRightSideContent?: React.ReactNode; } declare function DataTableToolbar({ table, search, facetFilterColumns, showTableConfigure, toolbarRightSideContent, }: DataTableToolbarProps): react_jsx_runtime.JSX.Element | null; interface DataTableViewOptionsProps { table: Table$1; } declare function DataTableViewOptions({ table }: DataTableViewOptionsProps): react_jsx_runtime.JSX.Element; declare const getSelectColumn: () => DataTableColumnDef; interface DatePickerProps { /** * The selected date. */ date?: Date | string; /** * Callback when the selected date changes. */ onDateChange?: (date: Date | undefined) => void; /** * Additional class names to apply to the date picker. */ className?: string; /** * Label for the date picker. */ label?: string; /** * Placeholder text for the date picker. */ placeholder?: string; /** * Date format to use */ dateFormat?: string; /** * Placeholder text for the presets. */ presetPlaceholder?: string; /** * Preset values to show. * value is the number of days to add to the current date. */ presets?: { label: string; value: number; }[]; /** * required or not */ required?: boolean; /** * Whether the checkbox is invalid. */ 'aria-invalid'?: boolean; /** * whether the checkbox is invalid */ isInvalid?: boolean; /** * id for the date picker */ id?: string; /** * The error message for the checkbox */ errorMessage?: string; /** * Parent class name for the date picker */ parentClassName?: string; /** * Whether the date picker is disabled or not */ disabled?: boolean; /** * Additional props for the calendar component. */ calendarProps?: DayPickerBase; } /** * A date picker component with range and presets. */ declare const DatePicker: React__default.ForwardRefExoticComponent>; type DateRangePreset = { /** * Label for the preset picker. */ label: string; /** * an integer, when added to today, represents start of date range */ from: number; /** * an integer, when added to today, represents end of date range */ to: number; }; interface DateRangePickerProps { /** * The selected date. */ dateRange?: DateRange; /** * Callback when the selected date changes. */ onDateRangeChange?: (date: DateRange | undefined) => void; /** * Additional class names to apply to the date picker. */ className?: string; /** * Label for the date picker. */ label?: string; /** * Placeholder text for the date picker. */ placeholder?: string; /** * Number of months to show in the calendar */ numberOfMonths?: number; /** * Date format to use */ dateFormat?: string; /** * Placeholder text for the presets. */ presetPlaceholder?: string; /** * Preset values to show. * value is the number of days to add to the current date. */ presets?: DateRangePreset[]; /** * required or not */ required?: boolean; /** * Whether the checkbox is invalid. */ 'aria-invalid'?: boolean; /** * whether the checkbox is invalid */ isInvalid?: boolean; /** * id for the date picker */ id?: string; /** * The error message for the checkbox */ errorMessage?: string; /** * Parent class name for the date range picker */ parentClassName?: string; /** * Whether the date range picker is disabled or not */ disabled?: boolean; /** * Additional props for the calendar component. */ calendarProps?: DayPickerBase; } /** * A date picker component with range and presets. */ declare const DateRangePicker: React$1.ForwardRefExoticComponent>; /** * A window overlaid on either the primary window or another dialog window, rendering the content underneath inert. */ declare const DialogRoot: React$1.FC<_radix_ui_react_dialog.DialogProps>; declare const DialogTrigger: React$1.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogTriggerProps & React$1.RefAttributes>; declare const DialogContent: React$1.ForwardRefExoticComponent, "ref"> & { /** * onClose event handler for the close button. */ onClose?: React$1.MouseEventHandler | undefined; /** * hideCloseButton to hide the close button. * @default false */ hideCloseButton?: boolean | undefined; } & React$1.RefAttributes>; declare const DialogHeader: { ({ className, ...props }: React$1.HTMLAttributes): react_jsx_runtime.JSX.Element; displayName: string; }; declare const DialogFooter: { ({ className, ...props }: React$1.HTMLAttributes): react_jsx_runtime.JSX.Element; displayName: string; }; declare const DialogTitle: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const DialogDescription: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; interface DialogProps extends React$1.ComponentPropsWithoutRef { /** * The trigger content of the dialog that will open the dialog when clicked. (Optional) */ trigger?: React$1.ReactNode; /** * The trigger className of the dialog. */ triggerClassName?: string; /** * The content of the dialog. (Optional) */ content?: React$1.ReactNode; /** * The content of the dialog. */ contentClassName?: string; /** * The header content of the dialog. */ header?: { /** * The title content of the dialog. */ title?: React$1.ReactNode; /** * The description content of the dialog. */ description?: React$1.ReactNode; /** * The className of the header content. (Optional) */ className?: string; }; /** * The footer content of the dialog. */ footer?: { /** * The content of the footer. */ content: React$1.ReactNode; /** * The className of the footer content. (Optional) */ className?: string; }; /** * The props for the dialog content. */ dialogContentProps?: React$1.ComponentPropsWithoutRef; /** * The props for the dialog header. */ dialogHeaderProps?: React$1.ComponentPropsWithoutRef; /** * The props for the dialog footer. */ dialogFooterProps?: React$1.ComponentPropsWithoutRef; } declare const Dialog: React$1.FC; interface CustomDropdownMenuItem extends React.ComponentPropsWithoutRef { /** * The label to display for the item. */ label?: React.ReactNode; /** * The shortcut to display for the item. */ shortcut?: React.ReactNode; /** * Whether the item is disabled. */ disabled?: boolean; /** * Whether the item is a separator. */ separator?: boolean; } interface CustomDropdownMenuItemWithSubItem extends CustomDropdownMenuItem { /** * The sub items to display for the item. */ label: React.ReactNode; /** * The sub items to display for the item. */ subItems: CustomDropdownMenuItem[]; } interface DropdownMenuProps extends DropdownMenuProps$1 { /** * The trigger element that will open the dropdown menu. */ trigger: React.ReactNode; /** * The items to display in the dropdown menu. */ items: Array; /** * The title heading for the dropdown menu. */ title?: React.ReactNode; /** * The dropdown menu content props. */ contentProps?: React.ComponentPropsWithoutRef; /** * The class name for the trigger of the dropdown menu. */ triggerClassName?: string; } /** * Displays a menu to the user — such as a set of actions or functions — triggered by a button. */ declare const DropdownMenuRoot: React$1.FC; declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent>; declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent>; declare const DropdownMenuPortal: React$1.FC; declare const DropdownMenuSub: React$1.FC; declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent>; declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent, "ref"> & { inset?: boolean | undefined; } & React$1.RefAttributes>; declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const DropdownMenuContent: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const DropdownMenuItem: React$1.ForwardRefExoticComponent, "ref"> & { inset?: boolean | undefined; } & React$1.RefAttributes>; declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent, "ref"> & { inset?: boolean | undefined; } & React$1.RefAttributes>; declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const DropdownMenuShortcut: { ({ className, ...props }: React$1.HTMLAttributes): react_jsx_runtime.JSX.Element; displayName: string; }; declare const DropdownMenu: React$1.FC; interface FallbackProps { error: ErrorType; resetErrorBoundary: (...args: unknown[]) => void; } type ErrorFallback = ComponentType>; type ErrorBoundaryProps = ErrorBoundaryProps$1 & { onError?: (error: ErrorType, info: ErrorInfo) => void; FallbackComponent?: ErrorFallback; resetKeys?: unknown[]; }; type IErrorBoundaryProps = ErrorBoundaryProps & { children: ReactNode; }; declare const ErrorBoundary: ({ children, ...props }: IErrorBoundaryProps) => react_jsx_runtime.JSX.Element; interface ErrorLayoutProps { /** * Heading of the error content */ heading?: ReactNode; /** * Subheading of the error content */ subHeading?: ReactNode; /** * Children of the error content */ children: ReactNode; /** * Icon of the error content */ icon?: React.ReactElement; /** * Show icon of the error content */ showIcon?: boolean; /** * Classname of the error content */ className?: string; /** * Classname of the heading of the error content */ headingClassName?: string; /** * Classname of the subheading of the error content */ subHeadingClassName?: string; /** * Error object */ error?: Error; } declare const ErrorLayout: FC; interface ErrorEmptyResponseProps extends Partial { } declare const ErrorEmptyResponse: FC; interface ErrorResponseImpl { data: string; error: Error; internal: boolean; status: number; statusText: string; } declare const isInternalErrorResponse: (error: unknown) => error is ErrorResponseImpl; interface ErrorInternalResponseProps extends Partial { } declare const ErrorInternalResponse: FC; interface ErrorInternalServerResponseProps extends Partial { } declare const ErrorInternalServerResponse: FC; interface ErrorNotFoundResponseProps extends Partial { } declare const ErrorNotFoundResponse: FC; interface IProps { error?: Response; } declare const ErrorReactRouterBoundary: | undefined = never>(props: IProps) => react_jsx_runtime.JSX.Element | null; interface ErrorReactRouterComponentProps { error: Error; heading?: ReactNode; className?: string; } declare const ErrorReactRouterComponent: FC; interface ErrorInternalServerProps { /** * Error object */ error: ErrorType; /** * Status code of the error */ statusCode?: number; /** * Status text of the error */ statusText?: string; /** * Whether to show the error message */ showErrorMessage?: boolean; /** * @param onRefresh refresh the page * @returns void */ onRefresh?: () => void; /** * @param onGoBack go back to the previous page * @returns void */ onGoBack?: () => void; /** * Text for the go back button */ goBackText?: React.ReactNode; /** * Text for the refresh button */ refreshText?: React.ReactNode; /** * Whether to show the error in the console */ showErrorInConsole?: boolean; } /** * Error page for internal server errors */ declare const ErrorInternalServer: ({ error, statusCode, statusText, showErrorMessage, showErrorInConsole, goBackText, refreshText, onRefresh, onGoBack, }: ErrorInternalServerProps) => react_jsx_runtime.JSX.Element; interface ErrorMessageProps extends Omit { /** * The error message to display. */ message?: React.ReactNode; /** * Additional class names to apply to the error message. */ className?: string; /** * Optional label for the error message to be displayed. * this label will be suffix with "is required" */ label?: string; } declare const ErrorMessage: FC; interface MultiSelectProps extends Omit { /** * List of selected values */ selectedValues: string[] | undefined; /** * onChange handler for the multiselect */ onSelectedValueChange: (selectedValues: string[]) => void; /** * id for the multiselect */ id?: string; } declare const MultiSelect: React$1.ForwardRefExoticComponent>; interface NumberInputProps extends Omit { /** * value of number input */ value?: string | number | null; /** * default value of number input(when uncontrolled) */ defaultValue?: string | number | null; /** * zero will be treated as empty string */ zeroAsEmptyString?: boolean; /** * If true, only positive integer is allowed */ isPositiveInteger?: boolean; /** * If true, only positive float is allowed */ isPositiveFloat?: boolean; /** * If true, only positive integer is allowed and starts with zero * @default false */ isPositiveIntegerStartsWithZero?: boolean; /** * if true, only positive float is allowed and starts with zero * @default false */ isPositiveFloatStartsWithZero?: boolean; /** * * @param value current value of the input */ onValueChange?: (value: number) => void; } declare const NumberInput: ComponentWithAs<'input', NumberInputProps>; declare const radioGroupVariants: (props?: ({ variant?: "primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "danger" | null | undefined; } & class_variance_authority_types.ClassProp) | undefined) => string; declare const RadioGroupRoot: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const RadioGroupRootItem: React$1.ForwardRefExoticComponent, "ref"> & { variant?: "primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "danger" | undefined; } & React$1.RefAttributes>; interface RadioGroupProps extends React$1.ComponentPropsWithoutRef { /** Array of options to render */ options: Array; /** The selected value */ value?: string; /** Callback when the selected value changes */ onValueChange?: (value: string) => void; /** Label for the radio group */ label?: string; /** Whether the radio group is inline or not */ inline?: boolean; /** * Whether the radio group is swap to right or not */ swapRight?: boolean; /** * The class name for the label */ labelClassName?: string; /** * The variant of the radio group */ variant?: ColorVariant; /** * required or not */ required?: boolean; /** * Whether the checkbox group is invalid. */ 'aria-invalid'?: boolean; /** * whether the checkbox group is invalid */ isInvalid?: boolean; /** * The error message for the checkbox */ errorMessage?: string; } declare const RadioGroup: React$1.ForwardRefExoticComponent>; interface SelectOptionGroupType { label?: string; options: OptionType[]; } type SelectOption = OptionType | SelectOptionGroupType | string | number; declare const SelectRoot: React$1.FC; declare const SelectPortal: React$1.FC; declare const SelectIcon: React$1.ForwardRefExoticComponent>; declare const SelectGroup: React$1.ForwardRefExoticComponent>; declare const SelectValue: React$1.ForwardRefExoticComponent>; declare const SelectTrigger: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const SelectContent: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const SelectLabel: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const SelectItem: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const SelectSeparator: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; interface SelectProps extends Omit, 'children'> { /** * The groups of options to display in the select. */ options: SelectOption[]; /** * The placeholder text to display when no option is selected. */ placeholder?: React$1.ReactNode; /** * The label for the select. */ label?: React$1.ReactNode; /** * The class name for the select. */ className?: string; /** * The class name for the trigger select. */ triggerClassName?: string; /** * The class name for the content select. */ contentClassName?: string; /** * The id for the select. */ id?: string; /** * Whether the select is required. */ required?: boolean; /** * Whether the select is invalid. */ 'aria-invalid'?: boolean; /** * whether the select is invalid */ isInvalid?: boolean; /** * blur event handler */ onBlur?: () => void; /** * Optional inline for the select */ inline?: boolean; /** * The error message for the checkbox */ errorMessage?: string; /** * If options are not found, display this message. * @default 'No option found.' */ noOptionsMessage?: React$1.ReactNode; } /** * Displays a list of options for the user to pick from—triggered by a button. */ declare const Select: React$1.ForwardRefExoticComponent>; interface TextareaProps extends Omit, 'color'> { /** * whether the textarea is invalid */ isInvalid?: boolean; /** * label for the input */ label?: string; /** * inline input or not */ inline?: boolean; /** * textarea class name for styling */ className?: string; /** * parent class name for styling */ parentClassName?: string; /** * error message for the textarea */ errorMessage?: string; /** * value for the textarea */ value?: string; /** * on value change callback */ onValueChange?: (value: string) => void; } declare const Textarea: ComponentWithAs<'textarea', TextareaProps>; interface CommonFormFieldItem { name: Path; label?: ReactNode; labelDescription?: ReactNode; description?: ReactNode; required?: boolean; placeholder?: string; disabled?: boolean; className?: string; inline?: boolean; formItemClassName?: string; formLabelClassName?: string; } type FormInputProps = Omit; interface FormFieldInputItem extends CommonFormFieldItem, Partial> { type: 'input'; autoComplete?: 'off' | 'on'; inputType?: React.ComponentPropsWithoutRef<'input'>['type']; inputProps?: Omit; } interface FormFieldNumberInputItem extends CommonFormFieldItem, Partial> { type: 'number'; autoComplete?: 'off' | 'on'; numberInputProps?: Omit; } interface FormFieldTextAreaItem extends CommonFormFieldItem, Partial> { type: 'textarea'; autoComplete?: 'off' | 'on'; textareaProps?: Omit; } interface FormFieldSelectItem extends CommonFormFieldItem, Partial> { type: 'select'; options: SelectOption[]; triggerClassName?: string; contentClassName?: string; selectProps?: Omit; } interface FormFieldCheckboxItem extends Omit, 'placeholder'>, Partial> { type: 'checkbox'; variant?: ColorVariant; checkboxProps?: Omit; } interface FormFieldCheckboxGroupItem extends Omit, 'placeholder'>, Partial> { type: 'checkbox-group'; options: CheckboxGroupProps['options']; checkboxInline?: boolean; labelClassName?: string; swapRight?: boolean; variant?: ColorVariant; checkboxGroupProps?: Omit; } interface FormFieldRadioGroupItem extends Omit, 'placeholder'>, Partial> { type: 'radio-group'; options: RadioGroupProps['options']; radioInline?: boolean; labelClassName?: string; swapRight?: boolean; variant?: ColorVariant; radioGroupProps?: Omit; } interface FormFieldComboboxItem extends CommonFormFieldItem, Partial> { type: 'combobox'; options: ComboboxProps['options']; comboboxProps?: Omit; } interface FormFieldMultiSelectItem extends CommonFormFieldItem, Partial> { type: 'multi-select'; options: MultiSelectProps['options']; triggerClassName?: MultiSelectProps['triggerClassName']; contentClassName?: MultiSelectProps['contentClassName']; commandClassName?: MultiSelectProps['commandClassName']; multiSelectProps?: Omit; } interface FormFieldDatePickerItem extends CommonFormFieldItem, Partial> { type: 'date-picker'; datePickerProps?: Omit; } interface FormFieldDateRangePickerItem extends CommonFormFieldItem, Partial> { type: 'date-range-picker'; dateRangePickerProps?: Omit; } interface FormFieldCustomItem extends CommonFormFieldItem { type: 'custom'; render: >(props: { field: ControllerRenderProps; }) => ReactNode; } type FormFieldItem = FormFieldInputItem | FormFieldNumberInputItem | FormFieldTextAreaItem | FormFieldSelectItem | FormFieldCheckboxItem | FormFieldMultiSelectItem | FormFieldRadioGroupItem | FormFieldCheckboxGroupItem | FormFieldComboboxItem | FormFieldDatePickerItem | FormFieldDateRangePickerItem | FormFieldCustomItem; interface FormComponentProps extends React.PropsWithChildren { /** * The form object from react-hook-form */ form: UseFormReturn; /** * The fields to render */ fields: FormFieldItem[]; /** * The callback will fired when the form is submitted */ onSubmit?: SubmitHandler; /** * The callback will fired when the form is submitted with error */ onSubmitError?: SubmitErrorHandler | undefined; /** * The text to display on the submit button */ submitText?: React.ReactNode; /** * The submit button component */ SubmitButton?: React.ComponentType<{ /** * Whether the form is submitting or not */ isSubmitting: boolean; /** * You have to call this function to submit the form, If you do that then the form will be submitted and onSubmit callback will be called if there is no error * Only use this function when you want to submit the form manually or */ onFormSubmit?: React.FormEventHandler; }>; /** * The submit button variant */ submitButtonVariant?: ButtonProps['variant']; /** * The submit button color */ submitButtonColor?: ButtonProps['color']; /** * The class name for the submit button */ submitClassName?: string; /** * Whether the form is submitting or not */ isSubmitting?: boolean; /** * The callback will fired when the form is reset */ onReset?: () => void; /** * The text to display on the reset button */ resetText?: React.ReactNode; /** * The reset button component */ ResetButton?: React.ComponentType<{ onFormReset: UseFormReset; }>; /** * The reset button variant */ resetButtonVariant?: ButtonProps['variant']; /** * The reset button color */ resetButtonColor?: ButtonProps['color']; /** * The class name for the reset button */ resetClassName?: string; /** * Whether the form is resetting or not */ isResetting?: boolean; /** * The class name for the form element */ className?: string; /** * The parent class name for reset and submit buttons */ actionClassName?: string; /** * Whether to hide the reset button */ hideResetButton?: boolean; /** * Whether to hide the submit button */ hideSubmitButton?: boolean; /** * Whether to display the form inline */ inline?: boolean; /** * The ref for the form element */ formRef?: React.MutableRefObject; /** * The id for the form element */ id?: string; /** * Whether support the browser native form validation or not (default is true) */ noValidate?: boolean; } /** * Form component */ declare const Form: { ({ form, onSubmit, onSubmitError, fields, className, submitText, SubmitButton, submitButtonVariant, submitButtonColor, submitClassName, resetText, ResetButton, resetButtonVariant, resetButtonColor, resetClassName, actionClassName, hideResetButton, hideSubmitButton, noValidate, inline: formInline, formRef, id, isSubmitting: isFormSubmitting, isResetting, onReset, children, }: FormComponentProps): react_jsx_runtime.JSX.Element; displayName: string; }; declare const labelVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string; interface LabelProps extends React$1.ComponentPropsWithoutRef, VariantProps { /** * if required, adds a red asterisk to the label */ required?: boolean; /** * */ text?: React$1.ReactNode; /** * if true, show the label in red color */ isInvalid?: boolean; /** * if true, disable the label */ disabled?: boolean; /** * Description of the label */ labelDescription?: React$1.ReactNode; } declare const Label: React$1.ForwardRefExoticComponent>; declare const FormRoot: (props: react_hook_form.FormProviderProps) => React$1.JSX.Element; declare const FormField: = FieldPath>({ ...props }: ControllerProps) => react_jsx_runtime.JSX.Element; declare const useFormField: () => { invalid: boolean; isDirty: boolean; isTouched: boolean; isValidating: boolean; error?: react_hook_form.FieldError | undefined; id: string; name: string; formItemId: string; formDescriptionId: string; formMessageId: string; }; declare const FormItem: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; declare const FormLabel: React$1.ForwardRefExoticComponent>; declare const FormControl: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const FormDescription: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; declare const FormMessage: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; type FormFieldItemsProps = Pick, 'fields' | 'inline'> & { control: FormComponentProps['form']['control']; }; declare const FormFieldItems: ({ fields, ...props }: FormFieldItemsProps) => react_jsx_runtime.JSX.Element; type FormFieldItemProps = Pick, 'inline'> & { control: FormComponentProps['form']['control']; field: FormFieldItem; }; declare const FormFieldItemComponent: ({ inline: formInline, control, field: parentField, }: FormFieldItemProps) => react_jsx_runtime.JSX.Element; declare const HoverCard: React$1.FC; declare const HoverCardTrigger: React$1.ForwardRefExoticComponent>; declare const HoverCardContent: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; type IconButtonProps = BoxProps & { icon?: React__default.ReactNode; /** * Additional class names to apply to the icon button. */ className?: string; /** * Whether the icon button is disabled. */ disabled?: boolean; /** * The rounded variant of the icon button. */ outline?: boolean; } & ({ /** * The icon to display. */ icon: React__default.ReactNode; } | { /** * The icon to display. */ children: React__default.ReactNode; }); /** * Icon button component. */ declare const IconButton: ComponentWithAs<'button', IconButtonProps>; declare const InputOTP: React$1.ForwardRefExoticComponent<(Omit, "onChange" | "value" | "maxLength" | "containerClassName" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "noScriptCSSFallback"> & { value?: string | undefined; onChange?: ((newValue: string) => unknown) | undefined; maxLength: number; textAlign?: "center" | "right" | "left" | undefined; onComplete?: ((...args: any[]) => unknown) | undefined; pushPasswordManagerStrategy?: "none" | "increase-width" | undefined; containerClassName?: string | undefined; noScriptCSSFallback?: string | null | undefined; } & { render: (props: input_otp.RenderProps) => React$1.ReactNode; children?: undefined; } & React$1.RefAttributes, "ref"> | Omit, "onChange" | "value" | "maxLength" | "containerClassName" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "noScriptCSSFallback"> & { value?: string | undefined; onChange?: ((newValue: string) => unknown) | undefined; maxLength: number; textAlign?: "center" | "right" | "left" | undefined; onComplete?: ((...args: any[]) => unknown) | undefined; pushPasswordManagerStrategy?: "none" | "increase-width" | undefined; containerClassName?: string | undefined; noScriptCSSFallback?: string | null | undefined; } & { render?: undefined; children: React$1.ReactNode; } & React$1.RefAttributes, "ref">) & React$1.RefAttributes>; declare const InputOTPGroup: React$1.ForwardRefExoticComponent, HTMLDivElement>, "ref"> & React$1.RefAttributes>; declare const InputOTPSlot: React$1.ForwardRefExoticComponent, HTMLDivElement>, "ref"> & { index: number; } & React$1.RefAttributes>; declare const InputOTPSeparator: React$1.ForwardRefExoticComponent, HTMLDivElement>, "ref"> & React$1.RefAttributes>; interface LabelInputProps extends InputProps { label: string; } declare const LabelInput: ComponentWithAs<'input', LabelInputProps>; type LoadingProps = React__default.ComponentPropsWithoutRef & { /** * Optional spin for the Loading * @default true */ spin?: boolean; /** * Optional className for the Loading parent element */ parentClassName?: string; /** * Optional content to display next to the Loading */ content?: React__default.ReactNode; }; declare const Loading: React__default.FC; interface MenubarMenuItemProps extends React.ComponentPropsWithoutRef { label: React.ReactNode; shortcut?: string; subMenus?: MenubarMenuList[]; } interface MenubarMenuCheckboxItemProps extends React.ComponentPropsWithoutRef { type: 'checkbox'; label: React.ReactNode; } interface MenubarMenuRadioItemProps extends React.ComponentPropsWithoutRef { type: 'radio'; value: string; options: { label: string; value: string; }[]; } interface MenubarMenuSeparatorProps extends React.ComponentPropsWithoutRef { separator: boolean; } type MenubarMenuItemsProps = MenubarMenuItemProps | MenubarMenuSeparatorProps | MenubarMenuCheckboxItemProps | MenubarMenuRadioItemProps; interface MenubarMenuList { label: React.ReactNode; items: MenubarMenuItemsProps[]; } interface MenubarProps extends Omit, 'children' | 'asChild'> { menus: MenubarMenuList[]; } declare const MenubarMenu: { (props: MenubarPrimitive.MenubarMenuProps & { __scopeMenubar?: _radix_ui_react_context.Scope; }): react_jsx_runtime.JSX.Element; displayName: string; }; declare const MenubarGroup: React$1.ForwardRefExoticComponent>; declare const MenubarPortal: React$1.FC; declare const MenubarSub: React$1.FC; declare const MenubarRadioGroup: React$1.ForwardRefExoticComponent>; declare const MenubarRoot: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const MenubarTrigger: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const MenubarSubTrigger: React$1.ForwardRefExoticComponent, "ref"> & { inset?: boolean | undefined; } & React$1.RefAttributes>; declare const MenubarSubContent: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const MenubarContent: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const MenubarItem: React$1.ForwardRefExoticComponent, "ref"> & { inset?: boolean | undefined; } & React$1.RefAttributes>; declare const MenubarCheckboxItem: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const MenubarRadioItem: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const MenubarLabel: React$1.ForwardRefExoticComponent, "ref"> & { inset?: boolean | undefined; } & React$1.RefAttributes>; declare const MenubarSeparator: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const MenubarShortcut: { ({ className, ...props }: React$1.HTMLAttributes): react_jsx_runtime.JSX.Element; displayname: string; }; declare const MenubarMenuCheckboxItem: React$1.FC; declare const MenubarMenuRadioItem: React$1.FC; declare const MenubarMenuItem: React$1.FC; declare const MenubarMenuItems: React$1.FC; declare const Menubar: React$1.ForwardRefExoticComponent>; declare const isMenubarMenuSeparator: (menu: unknown) => menu is MenubarMenuSeparatorProps; declare const isMenubarMenuCheckbox: (menu: unknown) => menu is MenubarMenuCheckboxItemProps; declare const isMenubarMenuRadio: (menu: unknown) => menu is MenubarMenuRadioItemProps; declare const NavigationMenu: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const NavigationMenuList: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const NavigationMenuItem: React$1.ForwardRefExoticComponent>; declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types.ClassProp | undefined) => string; declare const NavigationMenuTrigger: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const NavigationMenuContent: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const NavigationMenuLink: React$1.ForwardRefExoticComponent>; declare const NavigationMenuViewport: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const NavigationMenuIndicator: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const NavigationMenuListItem: React$1.ForwardRefExoticComponent, HTMLAnchorElement>, "ref"> & React$1.RefAttributes>; declare const DEFAULT_PAGE_SIZE_OPTIONS: number[]; interface PaginationProps extends BoxProps, Omit { /** * The total number of items. */ total: number; /** * The current page number. */ currentPage?: number; /** * The total number of items per page. * @default 10 */ pageSize?: number; /** * * @param pageSize page size number * @returns void */ onPageSizeChange?: (pageSize: number) => void; /** * pageSizeOptions for the pagination */ pageSizeOptions?: number[]; /** * pageSizeText for the pagination * @default "items per page" */ pageSizeText?: ReactNode; /** * showPageSizeOptions for the pagination * @default false */ showPageSizeOptions?: boolean; /** * * @param page page number * @returns void */ onPageChange?: (page: number) => void; /** * hide the total result description or not */ showTotalResults?: boolean; /** * show only the next and previous buttons or not */ showOnlyNextAndPrevious?: boolean; /** * Additional class names to apply to the pagination. */ className?: string; /** * Show pagination only if total is greater than page size * @default true */ showOnlyIfTotalGreaterThanPageSize?: boolean; } /** * Pagination component. */ declare const Pagination: React__default.ForwardRefExoticComponent>; interface NextAndPrevPaginationProps { onNext: () => void; onPrev: () => void; isDisabledNext: boolean; isDisabledPrev: boolean; } declare const NextAndPrevPagination: FC; interface PaginationSizeOptionProps { pageSize: number; setPageSize: (pageSize: number) => void; isDisabled: boolean; options: number[]; text?: ReactNode; } declare const PaginationSizeOption: FC; declare const PopoverRoot: React$1.FC; declare const PopoverTrigger: React$1.ForwardRefExoticComponent>; declare const PopoverContent: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; interface PopoverProps extends Omit, 'children'> { /** * The trigger element for the popover. */ trigger: React$1.ReactNode; /** * The content element for the popover. */ content: React$1.ReactNode; /** * The className for the trigger element. */ triggerClassName?: string; /** * The className for the content element. */ contentClassName?: string; } declare const Popover: React$1.FC; declare const progressRootVariants: (props?: ({ variant?: "primary" | "secondary" | "info" | "success" | "warning" | "danger" | "default" | "accent" | "dark" | null | undefined; } & class_variance_authority_types.ClassProp) | undefined) => string; declare const progressIndicatorVariants: (props?: ({ variant?: "primary" | "secondary" | "info" | "success" | "warning" | "danger" | "default" | "accent" | "dark" | null | undefined; } & class_variance_authority_types.ClassProp) | undefined) => string; interface ProgressProps extends React$1.ComponentPropsWithoutRef, VariantProps { /** * The value of the progress bar. Should be between 0 and 100. */ value?: number; } declare const Progress: React$1.ForwardRefExoticComponent>; interface RadioInputProps extends Omit, 'as' | 'children'> { /** Label for the radio */ label?: React__default.ReactNode; /** Whether the radio is checked or not */ checked?: boolean; /** Whether the radio is disabled or not */ disabled?: boolean; /** Callback when the radio value changes */ onCheckedChange?: (checked: boolean) => void; /** * Whether the radio is swapped to the right or not */ swapRight?: boolean; /** * The class name for the radio label */ labelClassName?: string; /** * Whether the radio is invalid. */ 'aria-invalid'?: boolean; /** * whether the radio is invalid */ isInvalid?: boolean; /** * The error message for the radio */ errorMessage?: string; /** * The parent class name for the radio */ parentClassName?: string; } declare const RadioInput: React__default.ForwardRefExoticComponent>; interface RadioInputGroupProps extends RadioInputProps { /** * The options for the radio input group */ options: OptionType[]; /** * The default value for the radio input group */ defaultValue?: string; /** * The default value for the radio input group */ value?: string; /** * The label for the radio input group */ label?: string; /** * The class name for the radio input group label */ labelClassName?: string; /** * Whether the radio input group is vertical or horizontal. */ inline?: boolean; } declare const RadioInputGroup: ComponentWithAs<'label', RadioInputGroupProps>; declare const ScrollArea: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const ScrollBar: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const Separator: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const SheetRoot: React$1.FC<_radix_ui_react_dialog.DialogProps>; declare const SheetTrigger: React$1.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogTriggerProps & React$1.RefAttributes>; declare const SheetClose: React$1.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogCloseProps & React$1.RefAttributes>; declare const sheetVariants: (props?: ({ side?: "top" | "right" | "bottom" | "left" | null | undefined; } & class_variance_authority_types.ClassProp) | undefined) => string; interface SheetContentProps extends React$1.ComponentPropsWithoutRef, VariantProps { } declare const SheetContent: React$1.ForwardRefExoticComponent>; declare const SheetHeader: { ({ className, ...props }: React$1.HTMLAttributes): react_jsx_runtime.JSX.Element; displayName: string; }; declare const SheetFooter: { ({ className, ...props }: React$1.HTMLAttributes): react_jsx_runtime.JSX.Element; displayName: string; }; declare const SheetTitle: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const SheetDescription: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; interface SheetProps extends React$1.ComponentProps { /** * The trigger element that will open the sheet */ trigger: React$1.ReactNode; /** * The header of the sheet, title represents the main title and description is optional */ header: { title: React$1.ReactNode; description?: React$1.ReactNode; }; /** * The content of the sheet (usually a form or a list) */ children?: React$1.ReactNode; /** * The footer of the sheet, primaryAction is the main action and secondaryAction is optional * primaryAction is usually a submit button * secondaryAction is usually a cancel button */ footer?: { primaryAction?: React$1.ReactNode; secondaryAction?: React$1.ReactNode; }; /** * The side of the screen the sheet will be displayed */ side?: 'top' | 'bottom' | 'left' | 'right'; /** * The className of the sheet content, useful for adding padding */ className?: string; } declare const Sheet: React$1.FC; interface TableProps extends BoxProps { } declare const Table: ComponentWithAs<'table', TableProps>; declare const TableHeader: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; declare const TableBody: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; declare const TableFooter: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; declare const TableRow: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; declare const TableHead: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; declare const TableCell: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; declare const TableCaption: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; interface SimpleTableProps = Record> extends TableProps { /** * An array of objects that define the table headers. */ columns: SimpleTableColumn[]; /** * An array of objects that define the table rows. */ rows: TRow[]; /** * The primary key of the table rows. */ primaryKey: string; /** * The table caption. */ caption?: React.ReactNode; /** * className is the class name of the table row. it is apply for all rows. */ rowClassName?: string; /** * rowCellClassName is the class name of the table cell. it is apply for all cells. */ rowCellClassName?: string; /** * columnClassName is the class name of the table header. it is apply for all headers. */ columnClassName?: string; /** * className is the class name of the table. */ className?: string; /** * enablePagination is the flag to enable the pagination. */ enablePagination?: boolean; /** * paginationProps is the props of the pagination. */ paginationProps?: Partial; /** * emptyTableContent is the content to display when the table is empty. * @default 'No data available' */ emptyTableContent?: ReactNode; /** * emptyTableContentClassName is the class name of the empty table content. */ emptyTableContentClassName?: string; /** * CustomTableRowComponent is the custom table row component. */ CustomTableRowComponent?: React.ComponentType<{ className?: string; row: TRow; index: number; primaryKey: string; children: React.ReactNode; }>; /** * theadClassName is the class name of the table head. */ theadClassName?: string; /** * tbodyClassName is the class name of the table body. */ tbodyClassName?: string; } interface SimpleTableColumn = Record> { /** * accessorKey is the key of the row object. */ accessorKey: string; /** * The header content. */ title: ReactNode; /** * className is the class name of the table header. */ className?: string; /** * rowCellClassName is the class name of the table cell. */ rowCellClassName?: string; /** * rowEmptyValue is the value to display when the row value is empty. * @default '-' */ rowEmptyValue?: ReactNode; /** * * @param props is the value of the row object and the column object. * @returns rowRender returns the row content. */ render?: (props: { value: unknown; column: SimpleTableColumn; row: TRow; index: number; }) => ReactNode; /** * @param props is the column object and the index of the column. * @returns headerRender returns the header content. */ renderHeader?: (props: { column: SimpleTableColumn; index: number; }) => ReactNode; } type ForwardRefFn = >(p: SimpleTableProps & { ref?: React.Ref | undefined | ((instance: R) => ReactElement | null); }) => ReactElement; declare const SimpleTable: ForwardRefFn; interface SkeletonProps extends Omit, 'as' | 'children'> { } declare const Skeleton: FC; interface SkeletonContainerProps extends Omit, 'as' | 'children'> { /** * If true, the skeleton will be a circle. */ circle?: boolean; /** * The number of skeleton items to render. */ count?: number; /** * The class name to apply to each skeleton item. */ className?: string; /** * If true, the skeleton will be full width. */ isFullWidth?: boolean; /** * The class name to apply to the container. */ containerClassName?: string; } /** * A skeleton is a component used to represent a loading state. */ declare const SkeletonContainer: FC; declare const sliderVariant: Record; interface SliderProps extends React$1.ComponentPropsWithoutRef { /** * The variant of the slider */ variant?: ColorVariant; } /** * An input where the user selects a value from within a given range. */ declare const Slider: React$1.ForwardRefExoticComponent>; declare const Switch: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; interface TabOption { label: React__default.ReactNode; value: string; content?: React__default.ReactNode; triggerClassName?: string; contentClassName?: string; } declare const TabsRoot: React$1.ForwardRefExoticComponent>; declare const TabsList: React$1.ForwardRefExoticComponent, "ref"> & { strip?: boolean | undefined; } & React$1.RefAttributes>; declare const TabsTrigger: React$1.ForwardRefExoticComponent, "ref"> & { strip?: boolean | undefined; } & React$1.RefAttributes>; declare const TabsContent: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; interface TabsProps extends React$1.ComponentPropsWithoutRef { /** * The tabs to render in the component */ tabs: Array; /** * The active tab */ activeTab: string; /** * Optional handler for when the tab changes */ onTabChange?: (tab: string) => void; /** * The tabs to render in the component * label: The label for the tab * value: The value for the tab * content: The content to render for the tab * triggerClassName: Optional class name for the tab trigger * contentClassName: Optional class name for the tab content */ /** * Optional class name for the all tab trigger */ triggerClassName?: string; /** * Optional class name for the all tab content */ contentClassName?: string; /** * Optional class name for the tab list */ tabListClassName?: string; /** * Optional flag to strip the default styles from the component * @default true */ strip?: boolean; } /** * A set of layered sections of content—known as tab panels—that are displayed one at a time. */ declare const Tabs: React$1.ForwardRefExoticComponent>; type ToastTypes = 'normal' | 'action' | 'success' | 'error' | 'warning' | 'info' | 'default' | 'loading'; type PromiseT = Promise | (() => Promise); type PromiseData = ExternalToast & { loading?: string | React__default.ReactNode; success?: string | React__default.ReactNode | ((data: ToastData) => React__default.ReactNode | string); error?: string | React__default.ReactNode | ((error: unknown) => React__default.ReactNode | string); finally?: () => void | Promise; }; /** * Represents the properties of a toast notification. */ interface ToastT { /** * The id of the toast. */ id: number | string; /** * The title of the toast. */ title?: string | React__default.ReactNode; /** * The type of the toast. */ type?: ToastTypes; /** * The icon of the toast. */ icon?: React__default.ReactNode; /** * The JSX content of the toast. */ jsx?: React__default.ReactNode; /** * Whether to invert the toast colors. */ invert?: boolean; /** * Whether the toast is dismissible. */ dismissible?: boolean; /** * The description of the toast. */ description?: React__default.ReactNode; /** * The duration of the toast in milliseconds. */ duration?: number; /** * Whether to show a delete button for the toast. */ delete?: boolean; /** * Whether the toast is important. */ important?: boolean; /** * The action button of the toast. */ action?: { label: string; onClick: (event: React__default.MouseEvent) => void; className?: string; }; /** * The cancel button of the toast. */ cancel?: { label: string; onClick?: () => void; className?: string; }; /** * The callback function to be called when the toast is dismissed. */ onDismiss?: (toast: ToastT) => void; /** * The callback function to be called when the toast is auto-closed. */ onAutoClose?: (toast: ToastT) => void; /** * The promise associated with the toast. */ promise?: PromiseT; /** * The class name for the cancel button. */ cancelButtonClassName?: string; /** * The class name for the action button. */ actionButtonClassName?: string; /** * The style of the toast. */ style?: React__default.CSSProperties; /** * Whether to apply no styles to the toast. */ unstyled?: boolean; /** * The class name for the toast. */ className?: string; /** * The class name for the description of the toast. */ descriptionClassName?: string; /** * The position of the toast. Can be 'top-left', 'top-right', 'bottom-left', 'bottom-right', 'top-center', or 'bottom-center'. */ position?: Position; } type Position = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'top-center' | 'bottom-center'; interface HeightT { height: number; toastId: number | string; } /** * Options for configuring a Toast component. */ interface ToastOptions { /** * className for the toast. */ className?: string; /** * className for the toast description. */ descriptionClassName?: string; /** * Style object for the toast. */ style?: React__default.CSSProperties; /** * className for the cancel button. */ cancelButtonClassName?: string; /** * className for the action button. */ actionButtonClassName?: string; /** * Duration in milliseconds for which the toast should be displayed. */ duration?: number; /** * Whether to apply default styles to the toast. */ unstyled?: boolean; } /** * Props for the Toaster component. */ interface ToasterProps { /** * Whether to invert the theme. */ invert?: boolean; /** * The theme to use. Can be 'light', 'dark', or 'system'. */ theme?: 'light' | 'dark' | 'system'; /** * The position of the toaster on the screen. */ position?: Position; /** * The hotkey to trigger the toaster. */ hotkey?: string[]; /** * Whether to use rich colors. */ richColors?: boolean; /** * Whether to expand the toaster to full width. */ expand?: boolean; /** * The duration of each toast in milliseconds. */ duration?: number; /** * The gap between toasts in pixels. */ gap?: number; /** * The maximum number of visible toasts. */ visibleToasts?: number; /** * Whether to show a close button on each toast. */ closeButton?: boolean; /** * Additional options for each toast. * @summary See {@link ToastOptions}. */ toastOptions?: ToastOptions; /** * The class name for the toaster. */ className?: string; /** * The style object for the toaster. */ style?: React__default.CSSProperties; /** * The offset of the toaster from the edge of the screen. */ offset?: string | number; /** * The direction of the toaster. */ dir?: 'rtl' | 'ltr' | 'auto'; /** * The loading icon to show while the toaster is loading. */ loadingIcon?: React__default.ReactNode; } declare enum SwipeStateTypes { SwipedOut = "SwipedOut", SwipedBack = "SwipedBack", NotSwiped = "NotSwiped" } type ToastTheme = 'light' | 'dark'; interface ToastToDismiss { id: number | string; dismiss: boolean; } type ExternalToast = Omit & { id?: number | string; }; interface ToastProps { toast: ToastT; toasts: ToastT[]; index: number; expanded: boolean; invert: boolean; heights: HeightT[]; setHeights: React__default.Dispatch>; removeToast: (toast: ToastT) => void; gap?: number; position: Position; visibleToasts: number; expandByDefault: boolean; closeButton: boolean; interacting: boolean; style?: React__default.CSSProperties; cancelButtonClassName?: string; actionButtonClassName?: string; duration?: number; className?: string; unstyled?: boolean; descriptionClassName?: string; loadingIcon?: React__default.ReactNode; } declare const useToast: () => ((message: React$1.ReactNode, data?: ExternalToast | undefined) => string | number) & { success: (message: React$1.ReactNode, data?: ExternalToast | undefined) => string | number; error: (message: React$1.ReactNode, data?: ExternalToast | undefined) => string | number; warning: (message: React$1.ReactNode, data?: ExternalToast | undefined) => string | number; info: (message: React$1.ReactNode, data?: ExternalToast | undefined) => string | number; show: (message: React$1.ReactNode, { description, ...data }?: ExternalToast) => void; custom: (jsx: (id: string | number) => React$1.ReactElement>, data?: ExternalToast | undefined) => void; message: (message: React$1.ReactNode, data?: ExternalToast | undefined) => string | number; promise: (promise: PromiseT, data?: PromiseData | undefined) => string | number | undefined; dismiss: (id?: string | number | undefined) => string | number | undefined; loading: (message: React$1.ReactNode, data?: ExternalToast | undefined) => string | number; }; declare const toast: ((message: string | React__default.ReactNode, data?: ExternalToast) => string | number) & { success: (message: string | React__default.ReactNode, data?: ExternalToast) => string | number; error: (message: string | React__default.ReactNode, data?: ExternalToast) => string | number; warning: (message: string | React__default.ReactNode, data?: ExternalToast) => string | number; info: (message: string | React__default.ReactNode, data?: ExternalToast) => string | number; show: (message: string | React__default.ReactNode, { description, ...data }?: ExternalToast) => void; custom: (jsx: (id: number | string) => React__default.ReactElement, data?: ExternalToast) => void; message: (message: string | React__default.ReactNode, data?: ExternalToast) => string | number; promise: (promise: PromiseT, data?: PromiseData | undefined) => string | number | undefined; dismiss: (id?: number | string) => string | number | undefined; loading: (message: string | React__default.ReactNode, data?: ExternalToast) => string | number; }; declare const Toaster: FC; declare const toggleVariants: (props?: ({ variant?: "default" | "outline" | null | undefined; size?: "sm" | "lg" | "default" | null | undefined; } & class_variance_authority_types.ClassProp) | undefined) => string; /** * A two-state button that can be either on or off. */ declare const Toggle: React$1.ForwardRefExoticComponent, "ref"> & VariantProps<(props?: ({ variant?: "default" | "outline" | null | undefined; size?: "sm" | "lg" | "default" | null | undefined; } & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes>; declare const toggleGroupItemVariants: (props?: ({ color?: "primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "danger" | null | undefined; size?: "sm" | "md" | "lg" | null | undefined; } & class_variance_authority_types.ClassProp) | undefined) => string; declare const ToggleGroupRoot: React__default.ForwardRefExoticComponent<(ToggleGroupPrimitive.ToggleGroupSingleProps | ToggleGroupPrimitive.ToggleGroupMultipleProps) & React__default.RefAttributes>; declare const ToggleGroupItem: React__default.ForwardRefExoticComponent, "ref"> & VariantProps<(props?: ({ color?: "primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "danger" | null | undefined; size?: "sm" | "md" | "lg" | null | undefined; } & class_variance_authority_types.ClassProp) | undefined) => string> & React__default.RefAttributes>; type ToggleGroupProps = React__default.ComponentPropsWithoutRef & VariantProps & { items: (Omit, 'children' | 'color' | 'size'> & { content: React__default.ReactNode; })[]; /** * Optional label for the ToggleGroup */ label?: ReactNode; /** * Optional color for the ToggleGroup (primary). * @default primary */ color?: 'primary'; /** * Optional size for the ToggleGroup (sm, md, lg). * @default md */ size?: 'sm' | 'md' | 'lg'; /** * Optional orientation for the ToggleGroup (vertical, horizontal). */ inline?: boolean; }; declare const ToggleGroup: React__default.ForwardRefExoticComponent>; declare const TooltipProvider: React$1.FC; declare const TooltipRoot: React$1.FC; declare const TooltipTrigger: React$1.ForwardRefExoticComponent>; declare const TooltipPortal: React$1.FC; declare const TooltipContent: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; interface TooltipProps extends Omit, 'content' | 'children'> { /** * Tooltip trigger content * */ trigger: React$1.ReactNode; /** * Tooltip body content * */ content: React$1.ReactNode; /** * Tooltip side * * @default top */ side?: 'top' | 'right' | 'bottom' | 'left'; /** * Tooltip align * * @default center */ align?: 'start' | 'center' | 'end'; /** * Tooltip as portal (render tooltip in separate DOM node) * * @default false */ asPortal?: boolean; /** * Tooltip open state * * @default false */ open?: boolean; /** * Tooltip default open state * * @default false */ defaultOpen?: boolean; /** * Tooltip on open state change handler * */ onOpenChange?: (open: boolean) => void; } declare const Tooltip: React$1.ForwardRefExoticComponent>; declare const THEMES: { readonly light: ""; readonly dark: ".dark"; }; type ChartConfig = { [k in string]: { label?: React$1.ReactNode; icon?: React$1.ComponentType; } & ({ color?: string; theme?: never; } | { color?: never; theme: Record; }); }; declare const ChartContainer: React$1.ForwardRefExoticComponent & React$1.HTMLAttributes & { config: ChartConfig; children: React$1.ComponentProps['children']; }, "ref"> & React$1.RefAttributes>; declare const ChartStyle: ({ id, config }: { id: string; config: ChartConfig; }) => react_jsx_runtime.JSX.Element | null; declare const ChartTooltip: typeof RechartsPrimitive.Tooltip; declare const ChartTooltipContent: React$1.ForwardRefExoticComponent & { accessibilityLayer?: boolean | undefined; active?: boolean | undefined; includeHidden?: boolean | undefined; allowEscapeViewBox?: recharts_types_util_types.AllowInDimension | undefined; animationDuration?: number | undefined; animationEasing?: recharts_types_util_types.AnimationTiming | undefined; content?: recharts_types_component_Tooltip.ContentType | undefined; coordinate?: Partial | undefined; cursor?: boolean | React$1.SVGProps | React$1.ReactElement> | undefined; filterNull?: boolean | undefined; defaultIndex?: number | undefined; isAnimationActive?: boolean | undefined; offset?: number | undefined; payloadUniqBy?: recharts_types_util_payload_getUniqPayload.UniqueOption> | undefined; position?: Partial | undefined; reverseDirection?: recharts_types_util_types.AllowInDimension | undefined; shared?: boolean | undefined; trigger?: "hover" | "click" | undefined; useTranslate3d?: boolean | undefined; viewBox?: recharts_types_util_types.CartesianViewBox | undefined; wrapperStyle?: React$1.CSSProperties | undefined; } & React$1.ClassAttributes & React$1.HTMLAttributes & { hideLabel?: boolean | undefined; hideIndicator?: boolean | undefined; indicator?: "line" | "dashed" | "dot" | undefined; nameKey?: string | undefined; labelKey?: string | undefined; }, "ref"> & React$1.RefAttributes>; declare const ChartLegend: typeof RechartsPrimitive.Legend; declare const ChartLegendContent: React$1.ForwardRefExoticComponent & React$1.HTMLAttributes & Pick & { hideIcon?: boolean | undefined; nameKey?: string | undefined; }, "ref"> & React$1.RefAttributes>; declare const BreadcrumbRoot: React$1.ForwardRefExoticComponent, HTMLElement>, "ref"> & { separator?: React$1.ReactNode; } & React$1.RefAttributes>; declare const BreadcrumbList: React$1.ForwardRefExoticComponent, HTMLOListElement>, "ref"> & React$1.RefAttributes>; declare const BreadcrumbItem: React$1.ForwardRefExoticComponent, HTMLLIElement>, "ref"> & React$1.RefAttributes>; declare const BreadcrumbLink: React$1.ForwardRefExoticComponent, HTMLAnchorElement>, "ref"> & { asChild?: boolean | undefined; } & React$1.RefAttributes>; declare const BreadcrumbPage: React$1.ForwardRefExoticComponent, HTMLSpanElement>, "ref"> & React$1.RefAttributes>; declare const BreadcrumbSeparator: { ({ children, className, ...props }: React$1.ComponentProps<'li'>): react_jsx_runtime.JSX.Element; displayName: string; }; declare const BreadcrumbEllipsis: { ({ className, ...props }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element; displayName: string; }; interface BreadcrumbProps extends Omit, 'children'> { /** * The items to display in the breadcrumb. */ items: { label: React$1.ReactNode; href?: string; }[]; /** * The link component to use for the breadcrumb items. * @example * @example */ Link: React$1.ComponentType<{ href: string; children: React$1.ReactNode; className?: string; }>; /** * The number of items to display in the breadcrumb. * @default 3 */ itemsToDisplay?: number; /** * If true, the breadcrumb will be open. */ open?: boolean; /** * * @param open it is the open state of the breadcrumb * @returns void */ onOpenChange?: (open: boolean) => void; /** * The props for the breadcrumb list. */ breadcrumbListProps?: Omit, 'children'>; /** * The props for the breadcrumb item. */ breadcrumbItemProps?: Omit, 'children'>; /** * The props for the breadcrumb separator. */ breadcrumbSeparatorProps?: React$1.ComponentPropsWithoutRef; /** * The props for the breadcrumb ellipsis. */ breadcrumbEllipsisProps?: React$1.ComponentPropsWithoutRef; } /** * Breadcrumbs are a navigational aid that helps users keep track of their location within a website or application. */ declare const Breadcrumb: React$1.ForwardRefExoticComponent>; declare const DrawerRoot: { ({ shouldScaleBackground, ...props }: React$1.ComponentProps): react_jsx_runtime.JSX.Element; displayName: string; }; declare const DrawerTrigger: React$1.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogTriggerProps & React$1.RefAttributes>; declare const DrawerPortal: React$1.FC<_radix_ui_react_dialog.DialogPortalProps>; declare const DrawerClose: React$1.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogCloseProps & React$1.RefAttributes>; declare const DrawerOverlay: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes, "ref"> & React$1.RefAttributes>; declare const DrawerContent: React$1.ForwardRefExoticComponent, "ref"> & { onAnimationEnd?: ((open: boolean) => void) | undefined; } & React$1.RefAttributes, "ref"> & React$1.RefAttributes>; declare const DrawerHeader: { ({ className, ...props }: React$1.HTMLAttributes): react_jsx_runtime.JSX.Element; displayName: string; }; declare const DrawerFooter: { ({ className, ...props }: React$1.HTMLAttributes): react_jsx_runtime.JSX.Element; displayName: string; }; declare const DrawerTitle: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const DrawerDescription: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; type DrawerProps = React$1.ComponentPropsWithoutRef & { /** * The trigger element for the drawer. */ trigger: React$1.ReactNode; /** * The content element for the drawer. */ content?: React$1.ReactNode; /** * The className for the trigger element. */ triggerClassName?: string; /** * The className for the content element. */ contentClassName?: string; /** * The header content of the drawer. */ header?: { /** * The title content of the drawer. */ title?: React$1.ReactNode; /** * The description content of the drawer. */ description?: React$1.ReactNode; /** * The className of the header content. (Optional) */ className?: string; }; /** * The footer content of the drawer. */ footer?: { /** * The content of the footer. */ content: React$1.ReactNode; /** * The className of the footer content. (Optional) */ className?: string; }; /** * The drawer close button element. * @example */ drawerCloseButton?: React$1.ReactNode; /** * The className for the drawer close button element. this className will be applied to the parent of the drawer close button. * @default 'pt-2' */ drawerCloseButtonClassName?: string; }; declare const Drawer: React$1.FC; type IconType = LucideIcon | React.ComponentType | undefined; type StepItem = { id?: string; label?: string; description?: string; icon?: IconType; optional?: boolean; }; interface TimelineStepProps { /** * Whether to display the steps as a timeline */ timeline?: boolean; /** * Class name for the timeline container */ timelineContainerClassName?: string; /** * Class name for the timeline content */ timelineContentClassName?: string; } interface StepOptions { orientation?: 'vertical' | 'horizontal'; state?: 'loading' | 'error'; responsive?: boolean; checkIcon?: IconType; errorIcon?: IconType; onClickStep?: (step: number, setStep: (step: number) => void) => void; mobileBreakpoint?: string; variant?: 'circle' | 'circle-alt' | 'line'; expandVerticalSteps?: boolean; size?: 'sm' | 'md' | 'lg'; styles?: { /** Styles for the main container */ 'main-container'?: string; /** Styles for the horizontal step */ 'horizontal-step'?: string; /** Styles for the horizontal step container (button and labels) */ 'horizontal-step-container'?: string; /** Styles for the vertical step */ 'vertical-step'?: string; /** Styles for the vertical step container (button and labels) */ 'vertical-step-container'?: string; /** Styles for the vertical step content */ 'vertical-step-content'?: string; /** Styles for the step button container */ 'step-button-container'?: string; /** Styles for the label and description container */ 'step-label-container'?: string; /** Styles for the step label */ 'step-label'?: string; /** Styles for the step description */ 'step-description'?: string; }; variables?: { '--step-icon-size'?: string; '--step-gap'?: string; }; scrollTracking?: boolean; } interface StepperProps extends StepOptions, TimelineStepProps { children?: React.ReactNode; className?: string; initialStep: number; steps: StepItem[]; } interface StepProps extends React.HTMLAttributes { label?: string | React.ReactNode; description?: string; icon?: IconType; state?: 'loading' | 'error'; checkIcon?: IconType; errorIcon?: IconType; isCompletedStep?: boolean; isKeepError?: boolean; onClickStep?: (step: number, setStep: (step: number) => void) => void; } interface StepSharedProps extends StepProps { isLastStep?: boolean; isCurrentStep?: boolean; index?: number; hasVisited: boolean | undefined; isError?: boolean; isLoading?: boolean; } declare const Step: React$1.ForwardRefExoticComponent>; declare function useStepper(): { isLastStep: boolean; hasCompletedAllSteps: boolean; isOptionalStep: boolean; isDisabledStep: boolean; currentStep: StepItem; previousActiveStep: number | undefined; clickable?: boolean | undefined; isError?: boolean | undefined; isLoading?: boolean | undefined; isVertical?: boolean | undefined; isVerticalTimeline?: boolean | undefined; stepCount?: number | undefined; expandVerticalSteps?: boolean | undefined; activeStep: number; initialStep: number; steps: StepItem[]; orientation?: "horizontal" | "vertical" | undefined; state?: "loading" | "error" | undefined; responsive?: boolean | undefined; checkIcon?: IconType; errorIcon?: IconType; onClickStep?: ((step: number, setStep: (step: number) => void) => void) | undefined; mobileBreakpoint?: string | undefined; variant?: "circle" | "line" | "circle-alt" | undefined; size?: "sm" | "md" | "lg" | undefined; styles?: { 'main-container'?: string | undefined; 'horizontal-step'?: string | undefined; 'horizontal-step-container'?: string | undefined; 'vertical-step'?: string | undefined; 'vertical-step-container'?: string | undefined; 'vertical-step-content'?: string | undefined; 'step-button-container'?: string | undefined; 'step-label-container'?: string | undefined; 'step-label'?: string | undefined; 'step-description'?: string | undefined; } | undefined; variables?: { '--step-icon-size'?: string | undefined; '--step-gap'?: string | undefined; } | undefined; scrollTracking?: boolean | undefined; timeline?: boolean | undefined; timelineContainerClassName?: string | undefined; timelineContentClassName?: string | undefined; nextStep: () => void; prevStep: () => void; resetSteps: () => void; setStep: (step: number) => void; }; declare const Stepper: React$1.ForwardRefExoticComponent>; export { Accordion, AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogRoot, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertRoot, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, type AvatarProps, AvatarRoot, AvatarUpload, type AvatarUploadProps, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, type BreadcrumbProps, BreadcrumbRoot, BreadcrumbSeparator, Button, type ButtonProps, Calendar, type CalendarProps, Card, CardContent, type CardCustomHeaderProps, CardDescription, CardFooter, CardHeader, type CardProps, CardRoot, CardTitle, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxGroup, type CheckboxGroupProps, CheckboxInput, type CheckboxInputProps, type CheckboxProps, CheckboxRoot, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, type ComboboxProps, Command, CommandDialog, type CommandDialogProps, CommandEmpty, CommandGroup, type CommandGroupItem, type CommandGroupList, CommandInput, CommandItem, CommandList, CommandLoading, CommandModal, CommandNoResultFound, type CommandNoResultFoundProps, type CommandProps, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type CustomDropdownMenuItem, type CustomDropdownMenuItemWithSubItem, DEFAULT_PAGE_SIZE_OPTIONS, DataTable, type DataTableActionItem, type DataTableColumnDef, DataTableColumnHeader, type DataTableCustomSearchFilter, type DataTableFacetFilterColumn, type DataTableFacetFilterOption, type DataTableFacetFilterProps, DataTableFacetedFilter, type DataTableInstance, DataTablePagination, type DataTablePaginationType, type DataTableProps, type DataTableRow, DataTableRowActions, type DataTableSearchFilter, type DataTableSearchFilterColumn, DataTableToolbar, DataTableViewOptions, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, type DateRangePreset, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, type DialogProps, DialogRoot, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, type DrawerProps, DrawerRoot, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, type DropdownMenuProps, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ErrorBoundary, ErrorEmptyResponse, type ErrorFallback, ErrorInternalResponse, ErrorInternalServer, type ErrorInternalServerProps, ErrorInternalServerResponse, ErrorLayout, type ErrorLayoutProps, ErrorMessage, ErrorNotFoundResponse, ErrorReactRouterBoundary, ErrorReactRouterComponent, type ErrorResponseImpl, type ExternalToast, type FallbackProps, Form, type FormComponentProps, FormControl, FormDescription, FormField, type FormFieldCheckboxGroupItem, type FormFieldCheckboxItem, type FormFieldComboboxItem, type FormFieldCustomItem, type FormFieldDatePickerItem, type FormFieldDateRangePickerItem, type FormFieldInputItem, type FormFieldItem, FormFieldItemComponent, type FormFieldItemProps, FormFieldItems, type FormFieldItemsProps, type FormFieldMultiSelectItem, type FormFieldNumberInputItem, type FormFieldRadioGroupItem, type FormFieldSelectItem, type FormFieldTextAreaItem, type FormInputProps, FormItem, FormLabel, FormMessage, FormRoot, type HeightT, HoverCard, HoverCardContent, HoverCardTrigger, type IErrorBoundaryProps, IconButton, type IconButtonProps, type IconType, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, Label, LabelInput, type LabelProps, Loading, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarMenuCheckboxItem, type MenubarMenuCheckboxItemProps, MenubarMenuItem, type MenubarMenuItemProps, MenubarMenuItems, type MenubarMenuItemsProps, type MenubarMenuList, MenubarMenuRadioItem, type MenubarMenuRadioItemProps, type MenubarMenuSeparatorProps, MenubarPortal, type MenubarProps, MenubarRadioGroup, MenubarRadioItem, MenubarRoot, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MultiSelect, type MultiSelectProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuListItem, NavigationMenuTrigger, NavigationMenuViewport, NextAndPrevPagination, type NextAndPrevPaginationProps, NumberInput, type NumberInputProps, Pagination, type PaginationProps, PaginationSizeOption, type PaginationSizeOptionProps, Popover, PopoverContent, PopoverModalContent, type PopoverModalContentProps, type PopoverProps, PopoverRoot, PopoverTrigger, type Position, Progress, type PromiseData, type PromiseT, RadioGroup, type RadioGroupProps, RadioGroupRoot, RadioGroupRootItem, RadioInput, RadioInputGroup, type RadioInputGroupProps, type RadioInputProps, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectIcon, SelectItem, SelectLabel, type SelectOption, type SelectOptionGroupType, SelectPortal, type SelectProps, SelectRoot, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetRoot, SheetTitle, SheetTrigger, SimpleTable, type SimpleTableColumn, type SimpleTableProps, Skeleton, SkeletonContainer, type SkeletonContainerProps, type SkeletonProps, Slider, Step, type StepItem, type StepOptions, type StepProps, type StepSharedProps, Stepper, type StepperProps, SwipeStateTypes, Switch, type TabOption, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, type TableProps, TableRow, Tabs, TabsContent, TabsList, type TabsProps, TabsRoot, TabsTrigger, Textarea, type TextareaProps, type ToastProps, type ToastT, type ToastTheme, type ToastToDismiss, type ToastTypes, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupProps, ToggleGroupRoot, Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipRoot, TooltipTrigger, badgeVariants, buttonVariants, getSelectColumn, isInternalErrorResponse, isMenubarMenuCheckbox, isMenubarMenuRadio, isMenubarMenuSeparator, navigationMenuTriggerStyle, progressIndicatorVariants, progressRootVariants, radioGroupVariants, sliderVariant, toast, toggleGroupItemVariants, toggleVariants, useFormField, useStepper, useToast };