///
import { ThemingProps } from "@chakra-v2/styled-system";
import { FormControlOptions } from "../form-control";
import { HTMLChakraProps, PropsOf } from "../system";
import { SelectFieldProps } from "./select-field";
interface RootProps extends Omit, "color"> {
}
interface SelectOptions extends FormControlOptions {
/**
* The border color when the select is focused. Use color keys in `theme.colors`
* @example
* focusBorderColor = "blue.500"
*/
focusBorderColor?: string;
/**
* The border color when the select is invalid. Use color keys in `theme.colors`
* @example
* errorBorderColor = "red.500"
*/
errorBorderColor?: string;
/**
* The placeholder for the select. We render an `` element that has
* empty value.
*
* ```jsx
*
* ```
*/
placeholder?: string;
/**
* The size (width and height) of the icon
*/
iconSize?: string;
/**
* The color of the icon
*/
iconColor?: string;
}
export interface SelectProps extends SelectFieldProps, ThemingProps<"Select">, SelectOptions {
/**
* Props to forward to the root `div` element
*/
rootProps?: RootProps;
/**
* The icon element to use in the select
* @type React.ReactElement
*/
icon?: React.ReactElement;
}
/**
* React component used to select one item from a list of options.
*
* @see Docs https://v2.chakra-ui.com/docs/components/select
*/
export declare const Select: import("../system").ComponentWithAs<"select", SelectProps>;
export declare const DefaultIcon: React.FC>;
export {};