/** * Copyright (c) 2018 Dell Inc., or its subsidiaries. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 */ import * as React from "react"; declare type SelectOption = { value?: any; selected?: boolean; disabled?: boolean; hidden?: boolean; }; export declare const SelectOption: React.FunctionComponent; /** * Options for SelectOptionGroup * @param {label} label for option group * @param {disabled} prop to disable complete option group */ declare type SelectOptionGroup = { label: string; disabled?: boolean; }; export declare const SelectOptionGroup: React.FunctionComponent; declare type SelectProps = { label?: string; id?: string; value?: any; defaultValue?: any; isBoxed?: boolean; required?: boolean; error?: boolean; errorTitle?: string; defaultHelperText?: string; errorHelperText?: string; onBlur?: (evt: React.FocusEvent) => void; onChange?: (evt: React.ChangeEvent, selectedOptionGroup?: string) => void; className?: string; style?: any; width?: string; name?: string; dataqa?: string; disabled?: boolean; }; export declare class Select extends React.PureComponent { private buildSelect; private getSelectWidth; render(): JSX.Element; } export {};