import * as React from 'react'; import type { SelectProps } from '../Select/Select.js'; import type { LabeledInputProps } from '../LabeledInput/LabeledInput.js'; import { InputGrid } from '../InputGrid/InputGrid.js'; import { Icon } from '../Icon/Icon.js'; export type LabeledSelectProps = { /** * Label of the select. */ label?: React.ReactNode; /** * Message below the select. Does not apply to 'inline' select. * * @example * strings * * * @example * Using StatusMessage for complete customization (e.g. icon) * }> * Help message * * } * … * /> */ message?: React.ReactNode; /** * Status of the select. * @default '' */ status?: 'positive' | 'warning' | 'negative'; /** * @deprecated Pass a `` to the `message` prop instead. * * Custom svg icon. Will override status icon if specified. */ svgIcon?: React.JSX.Element; /** * If true, shows a red asterisk. * * Form submission is only disabled when using the `native` prop (i.e. ``). * * @default false */ required?: boolean; /** * Pass props to wrapper element. */ wrapperProps?: React.ComponentProps; /** * Passes properties for label. */ labelProps?: React.ComponentProps<'div'>; /** * Passes properties for message content. */ messageContentProps?: React.ComponentPropsWithRef<'div'>; /** * Passes properties for message icon. */ messageIconProps?: React.ComponentProps; } & Pick & SelectProps & { /** * LabeledSelect does not support `styleType`. */ styleType?: never; }; /** * Labeled select component to select value from options. * @example * * * } * /> */ export declare const LabeledSelect: (props: LabeledSelectProps & { ref?: React.ForwardedRef; }) => React.JSX.Element;