import { ErrorWrapperClassNameProps } from '../ErrorWrapper';
import { FormOnColor } from '../../constants';
type SelectConcept = 'normal' | 'transparent';
export interface SelectProps extends ErrorWrapperClassNameProps, Pick<React.SelectHTMLAttributes<HTMLSelectElement>, 'aria-describedby' | 'name' | 'disabled' | 'required' | 'value' | 'onChange' | 'autoComplete'> {
    /** Sets the content of the select element. */
    children: React.ReactNode;
    /** Adds custom classes to the element. */
    className?: string;
    /** Changes the visuals of the component */
    concept?: SelectConcept;
    /** The label text above the select */
    label?: React.ReactNode;
    /** Changes the visuals of the component */
    onColor?: keyof typeof FormOnColor;
    /** Activates Error style for the select component - This is can be true while errorText is empty, when in a FormGroup */
    error?: boolean;
    /** Error text to show above the component */
    errorText?: string;
    /** Error text id */
    errorTextId?: string;
    /** Sets the data-testid attribute. */
    testId?: string;
    /** select id of the select element */
    selectId?: string;
    /** Width of select in characters (approximate) */
    width?: number;
    /** Gives defaultvalue to the comp. Preferred over selected prop on option by react */
    defaultValue?: string | number;
    /** Adds custom classes to the wrapper tag */
    wrapperClassName?: string;
    /** Ref passed to the select element */
    ref?: React.Ref<HTMLSelectElement | null>;
}
export declare const Select: React.FC<SelectProps>;
export default Select;
