import React, { SelectHTMLAttributes } from "react";
import { FormFieldProps } from "../useFormField";
export interface SelectProps extends FormFieldProps, Omit, "size" | "multiple"> {
/**
* Collection of -elements.
*/
children: React.ReactNode;
/**
* Sets inline-style on select wrapper.
*/
style?: React.CSSProperties;
/**
* Label for select.
*/
label: React.ReactNode;
/**
* Shows label and description for screenreaders only.
*/
hideLabel?: boolean;
}
/**
* A component that displays a select input field.
*
* @see [📝 Documentation](https://aksel.nav.no/komponenter/core/select)
* @see 🏷️ {@link SelectProps}
*
* @example
* ```jsx
*
* ```
*/
export declare const Select: React.ForwardRefExoticComponent>;
export default Select;