import * as React from 'react'; import { Select } from '@strapi/ui-primitives'; import { BoxProps } from '../../primitives/Box'; import { TypographyProps } from '../../primitives/Typography'; import { Field } from '../Field'; type TriggerSize = 'S' | 'M'; interface TriggerProps extends BoxProps<'div'>, Pick { /** * @default "Clear" */ clearLabel?: string; disabled?: boolean; hasError?: boolean; onClear?: (e: React.MouseEvent) => void; /** * @default "M" */ size?: TriggerSize; startIcon?: React.ReactElement; withTags?: boolean; } interface ValueProps extends Omit, Pick { asChild?: boolean; } interface ItemProps extends Select.SelectItemProps { } declare const Root: { (props: Select.SelectProps & { __scopeSelect?: import("@radix-ui/react-context").Scope; }): import("react/jsx-runtime").JSX.Element; displayName: string; }; declare const Trigger: React.ForwardRefExoticComponent & React.RefAttributes>; declare const Value: React.ForwardRefExoticComponent>; declare const Portal: { (props: Select.SelectPortalProps & { __scopeSelect?: import("@radix-ui/react-context").Scope; }): import("react/jsx-runtime").JSX.Element; displayName: string; }; declare const Content: React.ForwardRefExoticComponent>; declare const Viewport: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit, HTMLDivElement>, "ref"> & { ref?: React.RefObject | ((instance: HTMLDivElement | null) => void) | null | undefined; } & { asChild?: boolean | undefined; }, "key" | keyof React.HTMLAttributes | "asChild"> & React.RefAttributes, "ref"> & { ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject | null | undefined; }, never>> & string & Omit, HTMLDivElement>, "ref"> & { ref?: React.RefObject | ((instance: HTMLDivElement | null) => void) | null | undefined; } & { asChild?: boolean | undefined; }, "key" | keyof React.HTMLAttributes | "asChild"> & React.RefAttributes>, keyof React.Component>; declare const Item: React.ForwardRefExoticComponent>; declare const ItemIndicator: React.ForwardRefExoticComponent>; declare const ItemText: React.ForwardRefExoticComponent, HTMLSpanElement>, "ref"> & { ref?: React.RefObject | ((instance: HTMLSpanElement | null) => void) | null | undefined; } & { asChild?: boolean | undefined; }, "key" | keyof React.HTMLAttributes | "asChild"> & React.RefAttributes>; declare const Group: React.ForwardRefExoticComponent, HTMLDivElement>, "ref"> & { ref?: React.RefObject | ((instance: HTMLDivElement | null) => void) | null | undefined; } & { asChild?: boolean | undefined; }, "key" | keyof React.HTMLAttributes | "asChild"> & React.RefAttributes>; type SelectProps = Select.SelectProps; type SingleSelectProps = Select.SingleSelectProps; type MultiSelectProps = Select.MultiSelectProps; type PortalProps = Select.SelectPortalProps; type ContentProps = Select.SelectContentProps; type ViewportProps = Select.SelectViewportProps; type ItemIndicatorProps = Select.SelectItemIndicatorProps; type ItemTextProps = Select.SelectItemTextProps; type GroupProps = Select.SelectGroupProps; type ValueRenderFn = Select.SelectValueRenderFn; export { Root, Trigger, Value, Portal, Content, Viewport, Item, ItemIndicator, ItemText, Group }; export type { SingleSelectProps, MultiSelectProps, SelectProps, TriggerProps, ValueProps, ValueRenderFn, PortalProps, ContentProps, ViewportProps, ItemProps, ItemIndicatorProps, ItemTextProps, GroupProps, }; //# sourceMappingURL=SelectParts.d.ts.map