import * as PopoverPrimitive from '@radix-ui/react-popover'; import * as React from 'react'; type SelectContextValue = { value: unknown; select: (value: unknown, display: React.ReactNode) => void; display: React.ReactNode; open: boolean; setOpen: (open: boolean) => void; isMobile: boolean; disabled: boolean; }; declare const useSelectContext: () => SelectContextValue; type SelectProps = { children: React.ReactNode; value?: ValueType; defaultValue?: ValueType; onValueChange?: (value: ValueType) => void; open?: boolean; defaultOpen?: boolean; onOpenChange?: (open: boolean) => void; disabled?: boolean; }; declare function Select({ children, value: valueProp, defaultValue, onValueChange, open: openProp, defaultOpen, onOpenChange, disabled, }: SelectProps): React.JSX.Element; type SelectTriggerProps = React.ComponentProps<'button'> & { asChild?: boolean; }; declare function SelectTrigger({ asChild, className, children, disabled, ...props }: SelectTriggerProps): React.JSX.Element; type SelectValueProps = React.ComponentProps<'span'> & { placeholder?: string; }; declare function SelectValue({ className, placeholder, children, ...props }: SelectValueProps): React.JSX.Element; type SelectContentProps = { children: React.ReactNode; className?: string; /** Visible bottom-sheet header title (mobile). */ title?: string; /** sr-only accessible name for the sheet when no visible title is given (radix/vaul require a name). */ srTitle?: string; align?: React.ComponentProps['align']; sideOffset?: number; }; declare function SelectContent({ children, className, title, srTitle, align, sideOffset, }: SelectContentProps): React.JSX.Element; type SelectItemProps = Omit, 'value'> & { value: unknown; }; declare function SelectItem({ value, disabled, className, children, onClick, ...props }: SelectItemProps): React.JSX.Element; declare function SelectGroup({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element; declare function SelectLabel({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element; declare function SelectSeparator({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element; export type { SelectContentProps, SelectProps, SelectTriggerProps, SelectValueProps }; export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, useSelectContext, }; //# sourceMappingURL=select.d.ts.map