import { ReactNode, default as React } from 'react'; import { FormRowProps } from '../../FormRow/FormRow'; import { FormRowHelperTextOwnProps } from '../../FormRow/FormRowHelperText'; import { SelectKey, SingleSelectProps } from '../../Inputs/SingleSelect/SingleSelect'; /** * All props inherited from the `FormRow` component and the `SearchInput` component. * * Omitted props: * - 'as' field container cannot be used as a `HTMLLabelElement` due complexity of combobox * - `error` and `warning` simplified booleans of `SearchInput` component * @inheritdoc */ interface SingleSelectFieldInheritedProps extends Partial, Omit { } /** @inheritdoc */ export interface SingleSelectFieldProps extends Omit, 'error' | 'warning'>, SingleSelectFieldInheritedProps { /** * Addon to the right of the input. * * **INTERNAL USE ONLY:** It is unsafe to rely on this prop, as it may change or be removed in the future. * @internal */ UNSAFE_addon?: ReactNode; /** * Display loading indicator. */ loading?: boolean; } export declare const SingleSelectField: ((props: SingleSelectFieldProps & React.RefAttributes) => React.ReactNode) & { Option: (({ children, ..._unusedRest }: React.PropsWithChildren) => React.JSX.Element) & { displayName: string; Cell: (({ children, ...rest }: import('../../DataList/DataListItemCell').DataListItemCellProps) => React.JSX.Element) & { displayName: string; }; }; }; export {};