import * as AvatarPrimitive from '@radix-ui/react-avatar'; import * as React$1 from 'react'; import React__default, { ReactNode, ComponentType } from 'react'; import * as class_variance_authority_types from 'class-variance-authority/types'; import { VariantProps } from 'class-variance-authority'; import * as react_jsx_runtime from 'react/jsx-runtime'; import * as SeparatorPrimitive from '@radix-ui/react-separator'; import { a_ as BasePanelProps, aZ as BasePanelClassNames, cm as SkeletonAnimation, cn as SkeletonGroupAnimation } from '../../types-961bd33013f0.js'; import { DayPicker } from 'react-day-picker'; import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react'; import * as AccordionPrimitive from '@radix-ui/react-accordion'; import * as CheckboxPrimitive from '@radix-ui/react-checkbox'; import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area'; import * as SwitchPrimitive from '@radix-ui/react-switch'; import * as TabsPrimitive from '@radix-ui/react-tabs'; import * as TooltipPrimitive from '@radix-ui/react-tooltip'; import * as CollapsiblePrimitive from '@radix-ui/react-collapsible'; import { Placement } from '@floating-ui/react'; import * as HoverCardPrimitive from '@radix-ui/react-hover-card'; import * as input_otp from 'input-otp'; import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu'; import * as SelectPrimitive from '@radix-ui/react-select'; import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog'; import * as DialogPrimitive from '@radix-ui/react-dialog'; import * as PopoverPrimitive from '@radix-ui/react-popover'; import * as ProgressPrimitive from '@radix-ui/react-progress'; import * as ResizablePrimitive from 'react-resizable-panels'; import * as LabelPrimitive from '@radix-ui/react-label'; import * as SliderPrimitive from '@radix-ui/react-slider'; export { S as SkeletonGroup, a as SkeletonGroupProps } from '../../SkeletonGroup-20f87ec7a54b.js'; import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group'; import { LucideIcon } from 'lucide-react'; import '@radix-ui/react-context-menu'; declare const Avatar: 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 UseAutosizeTextAreaProps { textAreaRef: HTMLTextAreaElement | null; minHeight?: number; maxHeight?: number; triggerAutoSize: string; } declare const useAutosizeTextArea: ({ textAreaRef, triggerAutoSize, maxHeight, minHeight, }: UseAutosizeTextAreaProps) => void; type AutosizeTextAreaRef = { textArea: HTMLTextAreaElement; maxHeight: number; minHeight: number; focus: () => void; }; declare const AutosizeTextarea: React$1.ForwardRefExoticComponent<{ maxHeight?: number; minHeight?: number; onSubmit?: (e: React$1.FormEvent) => void; } & React$1.TextareaHTMLAttributes & React$1.RefAttributes>; declare const alertVariants: (props?: ({ variant?: "default" | "destructive" | null | undefined; } & class_variance_authority_types.ClassProp) | undefined) => string; declare const Alert: React$1.ForwardRefExoticComponent & VariantProps<(props?: ({ variant?: "default" | "destructive" | null | undefined; } & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes>; declare const AlertTitle: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; declare const AlertDescription: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; type BadgeVariant = 'default' | 'destructive' | 'outline' | 'secondary' | 'success' | 'warning'; type BadgeShape = 'pill' | 'rounded'; declare const badgeVariants: ({ variant, shape, className, }?: { variant?: BadgeVariant | null; shape?: BadgeShape; className?: string; }) => string; interface BadgeProps extends React$1.HTMLAttributes { variant?: BadgeVariant; shape?: BadgeShape; } declare const Badge: React$1.ForwardRefExoticComponent>; declare const RoundedBadge: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; declare const Separator: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const buttonGroupVariants: (props?: ({ orientation?: "horizontal" | "vertical" | null | undefined; } & class_variance_authority_types.ClassProp) | undefined) => string; declare function ButtonGroup({ className, orientation, ...props }: React.ComponentProps<'div'> & VariantProps): react_jsx_runtime.JSX.Element; declare function ButtonGroupText({ className, asChild, ...props }: React.ComponentProps<'div'> & { asChild?: boolean; }): react_jsx_runtime.JSX.Element; declare function ButtonGroupSeparator({ className, orientation, ...props }: React.ComponentProps): react_jsx_runtime.JSX.Element; interface BentoPanelProps extends Omit { children?: ReactNode; className?: string; contentClassName?: string; title?: ReactNode; titleIcon?: ComponentType<{ className?: string; color?: string; stroke?: string; }>; action?: ReactNode; classNames?: Omit & { header?: string; body?: string; }; } declare function BentoPanel({ children, className, contentClassName, title, titleIcon: TitleIcon, action, appearance, classNames, ...props }: BentoPanelProps): react_jsx_runtime.JSX.Element; type CalendarProps = React$1.ComponentProps; /** Product-neutral calendar. Locale and date policy are supplied by the product. */ declare function Calendar({ className, classNames, components, showOutsideDays, ...props }: CalendarProps): react_jsx_runtime.JSX.Element; declare namespace Calendar { var displayName: string; } type CardAppearance = 'elevated' | 'standard'; interface CardProps extends React$1.HTMLAttributes { appearance?: CardAppearance; } declare const Card: React$1.ForwardRefExoticComponent>; declare const CardHeader: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; declare const CardAction: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; declare const CardTitle: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; declare const CardDescription: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; declare const CardContent: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; declare const CardFooter: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; /** Design-owned polymorphic slot for product compositions that need `asChild`. */ declare const PolymorphicSlot: React$1.ForwardRefExoticComponent & { children?: React$1.ReactNode; } & React$1.RefAttributes>; declare const Accordion: React$1.ForwardRefExoticComponent<(AccordionPrimitive.AccordionMultipleProps | AccordionPrimitive.AccordionSingleProps) & React$1.RefAttributes>; declare const AccordionItem: React$1.ForwardRefExoticComponent, "ref"> & 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 Checkbox: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const buttonVariants: (props?: ({ variant?: "default" | "destructive" | "ghost" | "link" | "outline" | "secondary" | null | undefined; size?: "default" | "icon" | "lg" | "sm" | null | undefined; } & class_variance_authority_types.ClassProp) | undefined) => string; interface ButtonProps extends React$1.ButtonHTMLAttributes, VariantProps { asChild?: boolean; } declare const Button: React$1.ForwardRefExoticComponent>; interface ScrollAreaProps extends React$1.ComponentPropsWithoutRef { viewportClassName?: string; viewportRef?: React$1.Ref; onViewportScroll?: React$1.UIEventHandler; scrollbar?: boolean; scrollbarOrientation?: "horizontal" | "vertical"; scrollBarDisabled?: boolean; } declare const ScrollArea: React$1.ForwardRefExoticComponent>; declare const ScrollBar: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const Switch: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; type TabsVariant = "default" | "ghost" | "rounded"; type TabsProps = React$1.ComponentPropsWithoutRef & { variant?: TabsVariant; }; declare const Tabs: React$1.ForwardRefExoticComponent, "ref"> & { variant?: TabsVariant; } & React$1.RefAttributes>; declare const TabsList: React$1.ForwardRefExoticComponent, "ref"> & { gap?: number | string; } & React$1.RefAttributes>; declare const TabsTrigger: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const TabsContent: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const TooltipProvider: React$1.FC; declare const Tooltip: React$1.FC; declare const TooltipTrigger: React$1.ForwardRefExoticComponent>; declare const TooltipContent: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; type CarouselApi = UseEmblaCarouselType[1]; type UseCarouselParameters = Parameters; type CarouselOptions = UseCarouselParameters[0]; type CarouselPlugin = UseCarouselParameters[1]; interface CarouselProps { opts?: CarouselOptions; plugins?: CarouselPlugin; orientation?: 'horizontal' | 'vertical'; setApi?: (api: CarouselApi) => void; previousLabel?: string; nextLabel?: string; } interface CarouselContextValue extends CarouselProps { carouselRef: ReturnType[0]; api: ReturnType[1]; scrollPrev: () => void; scrollNext: () => void; canScrollPrev: boolean; canScrollNext: boolean; } declare function useCarousel(): CarouselContextValue; declare const Carousel: React$1.ForwardRefExoticComponent & CarouselProps & React$1.RefAttributes>; declare const CarouselContent: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; declare const CarouselItem: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; declare const CarouselPrevious: React$1.ForwardRefExoticComponent>; declare const CarouselNext: React$1.ForwardRefExoticComponent>; declare const Collapsible: React$1.ForwardRefExoticComponent>; declare const CollapsibleTrigger: React$1.ForwardRefExoticComponent>; declare const CollapsibleContent: React$1.ForwardRefExoticComponent>; type ControlAppearance = 'compact' | 'shadow' | 'standard'; interface InputProps extends React$1.InputHTMLAttributes { appearance?: ControlAppearance; } declare const Input: React$1.ForwardRefExoticComponent>; interface TextareaProps extends React$1.TextareaHTMLAttributes { appearance?: ControlAppearance; } declare const Textarea: React$1.ForwardRefExoticComponent>; interface FloatingPopoverProps { open?: boolean; defaultOpen?: boolean; onOpenChange?: (open: boolean) => void; placement?: Placement; offset?: number; children: React$1.ReactNode; } declare function FloatingPopover({ open: controlledOpen, defaultOpen, onOpenChange, placement, offset, children, }: FloatingPopoverProps): react_jsx_runtime.JSX.Element; interface FloatingPopoverTriggerProps extends React$1.HTMLAttributes { asChild?: boolean; } declare const FloatingPopoverTrigger: React$1.ForwardRefExoticComponent>; interface FloatingPopoverContentProps extends React$1.HTMLAttributes { portal?: boolean; } declare const FloatingPopoverContent: React$1.ForwardRefExoticComponent>; interface InfiniteScrollProps { /** * 是否正在加载数据 */ isLoading: boolean; /** * 是否还有更多数据 */ hasMore: boolean; /** * 加载下一页的回调函数 */ next: () => unknown; /** * IntersectionObserver 的阈值,范围 0-1 * @default 1 */ threshold?: number; /** * IntersectionObserver 的 root 元素 * @default null */ root?: Document | Element | null; /** * IntersectionObserver 的 rootMargin * @default '0px' */ rootMargin?: string; /** * 是否反向观察(观察第一个元素而不是最后一个) * @default false */ reverse?: boolean; /** * 子元素 */ children?: ReactNode; } declare function InfiniteScroll({ isLoading, hasMore, next, threshold, root, rootMargin, reverse, children, }: InfiniteScrollProps): null | react_jsx_runtime.JSX.Element; interface IIndicatorProps extends React__default.ComponentPropsWithoutRef<'div'> { dot?: boolean; } declare const Indicator: React__default.ForwardRefExoticComponent>; declare const HoverCard: React$1.FC; declare const HoverCardPortal: React$1.FC; declare const HoverCardTrigger: React$1.ForwardRefExoticComponent>; declare const HoverCardContent: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const InputOTP: React$1.ForwardRefExoticComponent<(Omit, "containerClassName" | "maxLength" | "noScriptCSSFallback" | "onChange" | "onComplete" | "pasteTransformer" | "pushPasswordManagerStrategy" | "textAlign" | "value"> & { value?: string; onChange?: (newValue: string) => unknown; maxLength: number; textAlign?: "center" | "left" | "right"; onComplete?: (...args: any[]) => unknown; pushPasswordManagerStrategy?: "increase-width" | "none"; pasteTransformer?: (pasted: string) => string; containerClassName?: string; noScriptCSSFallback?: null | string; } & { render: (props: input_otp.RenderProps) => React$1.ReactNode; children?: never; } & React$1.RefAttributes, "ref"> | Omit, "containerClassName" | "maxLength" | "noScriptCSSFallback" | "onChange" | "onComplete" | "pasteTransformer" | "pushPasswordManagerStrategy" | "textAlign" | "value"> & { value?: string; onChange?: (newValue: string) => unknown; maxLength: number; textAlign?: "center" | "left" | "right"; onComplete?: (...args: any[]) => unknown; pushPasswordManagerStrategy?: "increase-width" | "none"; pasteTransformer?: (pasted: string) => string; containerClassName?: string; noScriptCSSFallback?: null | string; } & { render?: never; 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>; declare function InputGroup({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element; declare const inputGroupAddonVariants: (props?: ({ align?: "block-end" | "block-start" | "inline-end" | "inline-start" | null | undefined; } & class_variance_authority_types.ClassProp) | undefined) => string; declare function InputGroupAddon({ className, align, ...props }: React$1.ComponentProps<'div'> & VariantProps): react_jsx_runtime.JSX.Element; declare const inputGroupButtonVariants: (props?: ({ size?: "icon-sm" | "icon-xs" | "sm" | "xs" | null | undefined; } & class_variance_authority_types.ClassProp) | undefined) => string; declare function InputGroupButton({ className, type, variant, size, ...props }: Omit, 'size'> & VariantProps): react_jsx_runtime.JSX.Element; declare function InputGroupText({ className, ...props }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element; declare const InputGroupInput: React$1.ForwardRefExoticComponent, HTMLInputElement>, "ref"> & React$1.RefAttributes>; declare const InputGroupTextarea: React$1.ForwardRefExoticComponent, HTMLTextAreaElement>, "ref"> & React$1.RefAttributes>; declare const DropdownMenu: 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; } & 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; } & 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; } & 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 Select: React$1.FC; declare const SelectGroup: React$1.ForwardRefExoticComponent>; declare const SelectValue: React$1.ForwardRefExoticComponent>; interface SelectTriggerProps extends React$1.ComponentPropsWithoutRef { iconClassName?: string; size?: 'default' | 'sm'; } declare const SelectTrigger: React$1.ForwardRefExoticComponent>; declare const SelectScrollUpButton: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const SelectScrollDownButton: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; interface SelectContentProps extends React$1.ComponentPropsWithoutRef { viewportClassName?: string; disableTriggerViewportSizing?: boolean; } declare const SelectContent: React$1.ForwardRefExoticComponent>; declare const SelectLabel: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; interface SelectItemProps extends React$1.ComponentPropsWithoutRef { indicatorClassName?: string; itemText?: React$1.ReactNode; hideIndicator?: boolean; } declare const SelectItem: React$1.ForwardRefExoticComponent>; declare const SelectSeparator: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const MEDIA_PREVIEW_ASPECT_RATIOS: readonly [ "1:1", "4:3", "3:4", "16:9", "9:16" ]; type MediaPreviewRatio = (typeof MEDIA_PREVIEW_ASPECT_RATIOS)[number]; type MediaPreviewAspectRatio = 'auto' | 'square' | 'video' | MediaPreviewRatio; type MediaPreviewFit = 'contain' | 'cover'; declare const resolveMediaPreviewAspectRatioValue: (aspectRatio?: MediaPreviewRatio) => number; declare const mediaPreviewFrameClassName: ({ aspectRatio, maxSquareHeight, className, }?: { aspectRatio?: MediaPreviewAspectRatio; maxSquareHeight?: boolean; className?: string; }) => string; interface MediaPreviewFrameProps extends React$1.HTMLAttributes { aspectRatio?: MediaPreviewAspectRatio; maxSquareHeight?: boolean; } declare const MediaPreviewFrame: React$1.ForwardRefExoticComponent>; interface MediaPreviewImageProps extends React$1.ImgHTMLAttributes { fit?: MediaPreviewFit; } declare const MediaPreviewImage: React$1.ForwardRefExoticComponent>; declare const Dialog: React$1.FC; declare const DialogTrigger: React$1.ForwardRefExoticComponent>; declare const DialogPortal: React$1.FC; declare const DialogClose: React$1.ForwardRefExoticComponent>; declare const DialogOverlay: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; interface DialogContentProps extends React$1.ComponentPropsWithoutRef { showCloseButton?: boolean; closeLabel?: React$1.ReactNode; overlayClassName?: string; overlayStyle?: React$1.CSSProperties; } declare const DialogContent: React$1.ForwardRefExoticComponent>; declare const DialogContentNoAnimation: React$1.ForwardRefExoticComponent>; 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>; declare const AlertDialog: React$1.FC>; declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent>; declare const AlertDialogPortal: React$1.FC; declare const AlertDialogOverlay: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; 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"> & React$1.RefAttributes>; declare const AlertDialogDangerAction: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const AlertDialogCancel: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const Popover: React$1.FC; declare const PopoverTrigger: React$1.ForwardRefExoticComponent>; declare const PopoverAnchor: React$1.ForwardRefExoticComponent>; declare const PopoverClose: React$1.ForwardRefExoticComponent>; interface PopoverContentProps extends React$1.ComponentPropsWithoutRef { /** Optional portal container, useful when a popover is opened inside a dialog. */ container?: HTMLElement | null; } declare const PopoverContent: React$1.ForwardRefExoticComponent>; type PillValue = boolean | number | string; type PillFieldType = 'boolean' | 'number' | 'string'; interface PillInputMessages { stringPlaceholder: string; numberPlaceholder: string; booleanPlaceholder: string; removeValue: (value: PillValue) => string; } interface PillInputProps { value?: PillValue[]; onChange: (values: PillValue[]) => void; placeholder?: string; fieldType?: PillFieldType; disabled?: boolean; className?: string; messages?: Partial; } declare const convertPillValue: (value: string, type: PillFieldType) => PillValue; declare const isValidPillValue: (value: string, type: PillFieldType) => boolean; declare const PillInput: React$1.ForwardRefExoticComponent>; declare const Progress: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const ResizablePanelGroup: ({ className, ...props }: React__default.ComponentProps) => react_jsx_runtime.JSX.Element; declare const ResizablePanel: React__default.ForwardRefExoticComponent, "id" | "onResize"> & { className?: string | undefined; collapsedSize?: number | undefined; collapsible?: boolean | undefined; defaultSize?: number | undefined; id?: string | undefined; maxSize?: number | undefined; minSize?: number | undefined; onCollapse?: ResizablePrimitive.PanelOnCollapse | undefined; onExpand?: ResizablePrimitive.PanelOnExpand | undefined; onResize?: ResizablePrimitive.PanelOnResize | undefined; order?: number | undefined; style?: object | undefined; tagName?: keyof HTMLElementTagNameMap | undefined; } & { children?: React$1.ReactNode; } & React__default.RefAttributes>; declare const ResizableHandle: ({ withHandle, className, ...props }: React__default.ComponentProps & { withHandle?: boolean; }) => react_jsx_runtime.JSX.Element; declare const Sidebar: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; declare const SidebarHeader: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; declare const SidebarContent: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; declare const SidebarFooter: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; declare const SidebarGroup: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; declare const SidebarGroupLabel: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; declare const SidebarMenu: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; declare const SidebarMenuItem: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; interface SidebarMenuButtonProps extends React$1.ButtonHTMLAttributes { isActive?: boolean; } declare const SidebarMenuButton: React$1.ForwardRefExoticComponent>; declare const Label: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const Sheet: React$1.FC; declare const SheetTrigger: React$1.ForwardRefExoticComponent>; declare const SheetClose: React$1.ForwardRefExoticComponent>; declare const SheetPortal: React$1.FC; declare const SheetOverlay: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; type SheetSide = 'bottom' | 'left' | 'right' | 'top'; interface SheetContentProps extends React$1.ComponentPropsWithoutRef { side?: SheetSide; } declare const SheetContent: React$1.ForwardRefExoticComponent>; declare const SheetHeader: ({ className, ...props }: React$1.HTMLAttributes) => react_jsx_runtime.JSX.Element; declare const SheetFooter: ({ className, ...props }: React$1.HTMLAttributes) => react_jsx_runtime.JSX.Element; declare const SheetTitle: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const SheetDescription: React$1.ForwardRefExoticComponent, "ref"> & React$1.RefAttributes>; declare const normalizeSliderNumber: (value: number, options: { min?: number; max?: number; step?: number; }) => number; declare const formatSliderNumber: (value?: number) => string; interface SliderProps extends Omit, 'onChange'> { label?: string; disabledLabel?: boolean; editableValue?: boolean; showRangeLabels?: boolean; valueFormatter?: (value: number | undefined) => string; rangeLabelFormatter?: (value: number) => string; onEditableValueCommit?: (value: number) => void; } declare const Slider: React$1.ForwardRefExoticComponent>; interface StatusStateProps extends Omit, 'title'> { title: React$1.ReactNode; description?: React$1.ReactNode; presentation?: 'page' | 'panel'; } /** Product-neutral empty, unavailable and permission state presentation. */ declare const StatusState: React$1.ForwardRefExoticComponent>; interface SkeletonProps extends React$1.HTMLAttributes { tone?: 'accent' | 'muted'; animate?: boolean; animation?: SkeletonAnimation; } declare const Skeleton: React$1.ForwardRefExoticComponent>; interface ImageCardProps extends React__default.HTMLAttributes { status: "error" | "loading" | "ready"; aspectRatio?: string; loadingLabel?: string; errorContent?: React__default.ReactNode; } /** Presentation only: fetching, retrying and URL authorization belong to the consumer. */ declare function ImageCard({ status, aspectRatio, loadingLabel, errorContent, children, style, ...props }: ImageCardProps): react_jsx_runtime.JSX.Element; interface ImageGalleryProps extends React__default.HTMLAttributes { minCardWidth?: number; gap?: number; } declare function ImageGallery({ minCardWidth, gap, style, ...props }: ImageGalleryProps): react_jsx_runtime.JSX.Element; interface SkeletonAvatarProps extends React__default.HTMLAttributes { animation?: SkeletonAnimation; /** * 头像大小 * @default 'md' */ size?: 'lg' | 'md' | 'sm' | 'xl' | 'xs'; /** * 形状 * @default 'circle' */ shape?: 'circle' | 'square'; } /** * 头像骨架屏组件 */ declare function SkeletonAvatar({ className, size, shape, ...props }: SkeletonAvatarProps): react_jsx_runtime.JSX.Element; interface SkeletonButtonProps extends React__default.HTMLAttributes { animation?: SkeletonAnimation; /** * 按钮大小 * @default 'md' */ size?: 'icon' | 'lg' | 'md' | 'sm'; /** * 是否圆角 * @default false */ rounded?: boolean; } /** * 按钮骨架屏组件 */ declare function SkeletonButton({ className, size, rounded, ...props }: SkeletonButtonProps): react_jsx_runtime.JSX.Element; interface SkeletonCardProps extends React__default.HTMLAttributes { animation?: SkeletonGroupAnimation; /** * 是否显示图片 * @default false */ showImage?: boolean; /** * 图片高度 * @default 120 */ imageHeight?: number; /** * 是否显示头像 * @default false */ showAvatar?: boolean; /** * 标题行数 * @default 1 */ titleLines?: number; /** * 描述行数 * @default 2 */ descriptionLines?: number; /** * 是否显示操作按钮 * @default false */ showActions?: boolean; /** * 操作按钮数量 * @default 2 */ actionsCount?: number; } /** * 卡片骨架屏组件 */ declare function SkeletonCard({ className, animation, showImage, imageHeight, showAvatar, titleLines, descriptionLines, showActions, actionsCount, ...props }: SkeletonCardProps): react_jsx_runtime.JSX.Element; interface SkeletonFormFieldProps { animation?: SkeletonGroupAnimation; /** * 标签宽度 * @default 80 */ labelWidth?: number | string; /** * 输入框类型 * @default 'input' */ type?: 'checkbox' | 'input' | 'radio' | 'select' | 'textarea'; /** * 文本域行数(仅 textarea 生效) * @default 3 */ textareaRows?: number; } interface SkeletonFormProps extends React__default.HTMLAttributes { animation?: SkeletonGroupAnimation; /** * 表单字段数量 * @default 4 */ fields?: number; /** * 字段配置 */ fieldConfigs?: SkeletonFormFieldProps[]; /** * 布局方式 * @default 'vertical' */ layout?: 'horizontal' | 'vertical'; /** * 标签宽度(水平布局时生效) * @default 100 */ labelWidth?: number; /** * 是否显示提交按钮 * @default true */ showSubmitButton?: boolean; /** * 字段间距 * @default 4 */ spacing?: number; } /** * 表单字段骨架屏 */ declare function SkeletonFormField({ animation, labelWidth, type, textareaRows, layout, }: SkeletonFormFieldProps & { layout?: 'horizontal' | 'vertical'; }): react_jsx_runtime.JSX.Element; /** * 表单骨架屏组件 */ declare function SkeletonForm({ className, animation, fields, fieldConfigs, layout, labelWidth, showSubmitButton, spacing, ...props }: SkeletonFormProps): react_jsx_runtime.JSX.Element; interface SkeletonImageProps extends React__default.HTMLAttributes { animation?: SkeletonAnimation; /** * 宽度 */ width?: number | string; /** * 高度 */ height?: number | string; /** * 宽高比(当只设置宽度时使用) * @default '16/9' */ aspectRatio?: string; /** * 圆角 * @default 'md' */ rounded?: 'full' | 'lg' | 'md' | 'none' | 'sm'; } /** * 图片骨架屏组件 */ declare function SkeletonImage({ className, width, height, aspectRatio, rounded, style, ...props }: SkeletonImageProps): react_jsx_runtime.JSX.Element; interface SkeletonListProps extends React__default.HTMLAttributes { animation?: SkeletonGroupAnimation; /** * 列表项数量 * @default 5 */ count?: number; /** * 是否显示头像/图标 * @default false */ showAvatar?: boolean; /** * 头像形状 * @default 'circle' */ avatarShape?: 'circle' | 'square'; /** * 是否显示副标题 * @default false */ showSubtitle?: boolean; /** * 是否显示右侧操作 * @default false */ showAction?: boolean; /** * 列表项间距 * @default 'md' */ spacing?: 'lg' | 'md' | 'sm'; /** * 是否显示分割线 * @default false */ showDivider?: boolean; } /** * 列表骨架屏组件 */ declare function SkeletonList({ className, animation, count, showAvatar, avatarShape, showSubtitle, showAction, spacing, showDivider, ...props }: SkeletonListProps): react_jsx_runtime.JSX.Element; interface SkeletonTableProps extends React__default.HTMLAttributes { animation?: SkeletonGroupAnimation; /** * 列数 * @default 4 */ columns?: number; /** * 行数 * @default 5 */ rows?: number; /** * 是否显示表头 * @default true */ showHeader?: boolean; /** * 是否显示复选框列 * @default false */ showCheckbox?: boolean; /** * 列宽度配置(百分比数组) */ columnWidths?: number[]; } /** * 表格骨架屏组件 */ declare function SkeletonTable({ className, animation, columns, rows, showHeader, showCheckbox, columnWidths, ...props }: SkeletonTableProps): react_jsx_runtime.JSX.Element; interface SkeletonTextProps extends React__default.HTMLAttributes { animation?: SkeletonGroupAnimation; /** * 文本行数 * @default 1 */ lines?: number; /** * 最后一行宽度百分比 * @default 100 */ lastLineWidth?: number; /** * 行高 * @default 'md' */ size?: 'lg' | 'md' | 'sm'; /** * 行间距 * @default 2 */ spacing?: number; } /** * 文本骨架屏组件 * 用于文本内容的占位显示 */ declare function SkeletonText({ className, animation, lines, lastLineWidth, size, spacing, ...props }: SkeletonTextProps): react_jsx_runtime.JSX.Element; interface TableProps extends React$1.HTMLAttributes { container?: boolean; containerClassName?: string; containerProps?: React$1.HTMLAttributes; density?: 'comfortable' | 'compact'; } declare const Table: React$1.ForwardRefExoticComponent>; 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>; type ToggleVariant = 'default' | 'outline'; type ToggleSize = 'default' | 'lg' | 'sm'; declare const toggleClassName: (input?: { variant?: ToggleVariant; size?: ToggleSize; className?: string; }) => string; declare const toggleVariants: (input?: { variant?: ToggleVariant; size?: ToggleSize; className?: string; }) => string; interface ToggleProps extends Omit, 'onChange'> { pressed?: boolean; defaultPressed?: boolean; onPressedChange?: (pressed: boolean) => void; variant?: ToggleVariant; size?: ToggleSize; } declare const Toggle: React$1.ForwardRefExoticComponent>; declare const ToggleGroup: React$1.ForwardRefExoticComponent<((Omit, "ref"> | Omit, "ref">) & VariantProps<(input?: { variant?: ToggleVariant; size?: ToggleSize; className?: string; }) => string>) & React$1.RefAttributes>; declare const ToggleGroupItem: React$1.ForwardRefExoticComponent, "ref"> & VariantProps<(input?: { variant?: ToggleVariant; size?: ToggleSize; className?: string; }) => string> & React$1.RefAttributes>; interface TreeDataItem { id: string; label: string; value?: T; icon?: LucideIcon; children?: TreeDataItem[]; } type TreeProps = React__default.HTMLAttributes & { data: TreeDataItem | TreeDataItem[]; initialSelectedItemId?: string; onSelectChange?: (item: R | TreeDataItem | undefined) => void; expandAll?: boolean; folderIcon?: LucideIcon; itemIcon?: LucideIcon; labelRenderer?: (item: any, onExpand: () => void) => React__default.ReactNode; leafRenderer?: (item: any) => React__default.ReactNode; }; declare const Tree: React__default.ForwardRefExoticComponent & { data: TreeDataItem | TreeDataItem[]; initialSelectedItemId?: string; onSelectChange?: ((item: unknown) => void) | undefined; expandAll?: boolean; folderIcon?: LucideIcon; itemIcon?: LucideIcon; labelRenderer?: (item: any, onExpand: () => void) => React__default.ReactNode; leafRenderer?: (item: any) => React__default.ReactNode; } & React__default.RefAttributes>; export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDangerAction, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, type AutosizeTextAreaRef, AutosizeTextarea, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, type BadgeShape, type BadgeVariant, BentoPanel, type BentoPanelProps, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, type ButtonProps, Calendar, type CalendarProps, Card, CardAction, type CardAppearance, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, type CarouselOptions, type CarouselPlugin, CarouselPrevious, type CarouselProps, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, type ControlAppearance, Dialog, DialogClose, DialogContent, DialogContentNoAnimation, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FloatingPopover, FloatingPopoverContent, type FloatingPopoverContentProps, type FloatingPopoverProps, FloatingPopoverTrigger, type FloatingPopoverTriggerProps, HoverCard, HoverCardContent, HoverCardPortal, HoverCardTrigger, ImageCard, type ImageCardProps, ImageGallery, type ImageGalleryProps, Indicator, InfiniteScroll, type InfiniteScrollProps, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, Label, MEDIA_PREVIEW_ASPECT_RATIOS, type MediaPreviewAspectRatio, type MediaPreviewFit, MediaPreviewFrame, type MediaPreviewFrameProps, MediaPreviewImage, type MediaPreviewImageProps, type MediaPreviewRatio, type PillFieldType, PillInput, type PillInputMessages, type PillInputProps, type PillValue, PolymorphicSlot, Popover, PopoverAnchor, PopoverClose, PopoverContent, type PopoverContentProps, PopoverTrigger, Progress, ResizableHandle, ResizablePanel, ResizablePanelGroup, RoundedBadge, ScrollArea, type ScrollAreaProps, ScrollBar, Select, SelectContent, type SelectContentProps, SelectGroup, SelectItem, type SelectItemProps, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Separator, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, type SheetSide, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupLabel, SidebarHeader, SidebarMenu, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuItem, Skeleton, SkeletonAnimation, SkeletonAvatar, type SkeletonAvatarProps, SkeletonButton, type SkeletonButtonProps, SkeletonCard, type SkeletonCardProps, SkeletonForm, SkeletonFormField, type SkeletonFormFieldProps, type SkeletonFormProps, SkeletonGroupAnimation, SkeletonImage, type SkeletonImageProps, SkeletonList, type SkeletonListProps, type SkeletonProps, SkeletonTable, type SkeletonTableProps, SkeletonText, type SkeletonTextProps, Slider, type SliderProps, StatusState, type StatusStateProps, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, type TableProps, TableRow, Tabs, TabsContent, TabsList, type TabsProps, TabsTrigger, type TabsVariant, Textarea, type TextareaProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleProps, type ToggleSize, type ToggleVariant, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Tree, type TreeDataItem, type TreeProps, alertVariants, badgeVariants, buttonGroupVariants, buttonVariants, convertPillValue, formatSliderNumber, isValidPillValue, mediaPreviewFrameClassName, normalizeSliderNumber, resolveMediaPreviewAspectRatioValue, toggleClassName, toggleVariants, useAutosizeTextArea, useCarousel };