import { ComponentPropsWithRef } from 'react'; import { InputSize } from '@viasat/beam-shared/components/input'; import { Nullable } from '@viasat/beam-shared/utils/types'; import { ThemeTypes } from '@viasat/beam-shared/utils/constants'; import { FormValidator } from '@viasat/beam-shared/components/form'; import * as React from 'react'; export interface NativeSelectProps extends Omit, 'size'> { /** * Specify HelperText for NativeSelect */ helperText?: Nullable; /** * Specify Label for NativeSelect */ label?: Nullable; /** * Specify if NativeSelect is a required input * @default false */ required?: boolean; /** * Specify if NativeSelect displays in a read-only state * @default false */ readOnly?: boolean; /** * Specify if NativeSelect displays in a disabled state * @default false */ disabled?: boolean; /** * Specify error text and display error state of a NativeSelect */ error?: boolean | string; /** * Specify if NativeSelect is fluid * @default false */ fluid?: boolean; /** * Specify the size of NativeSelect * @default 'md' */ size?: InputSize; /** * Specify the width of NativeSelect */ width?: string; /** * Specify if overflow displays ellipsis * @default true */ ellipse?: boolean; /** * Specify if the NativeSelect displays with an asterisk * @default false */ hideRequiredMarker?: boolean; /** * Specify form validation rules for NativeSelect */ validationRules?: Array; /** * Specify the theme of the NativeSelect. By default it inherits the theme from the parent */ theme?: ThemeTypes; } export declare const NativeSelect: React.ForwardRefExoticComponent & React.RefAttributes>; export default NativeSelect;