import { type OptgroupHTMLAttributes, type OptionHTMLAttributes } from 'react'; type Option = { value: T; } & Omit, 'value'>; type Optgroup = { label: string; options: Array>; } & OptgroupHTMLAttributes; type AbstractProps = { /** 選択肢のデータの配列 */ options: Array | Optgroup>; /** フォームの値が変わったときに発火するコールバック関数 */ onChangeValue?: (value: T) => void; /** フォームの値にエラーがあるかどうか */ error?: boolean; /** コンポーネントの幅 */ width?: number | string; /** コンポーネントの大きさ */ size?: 'M' | 'S'; /** 空の選択肢を表示するかどうか */ hasBlank?: boolean; /** 空の選択肢のラベル */ blankLabel?: string; }; declare const Option: import("react").NamedExoticComponent | Optgroup>; export declare const Select: (props: AbstractProps & Omit, HTMLSelectElement>, "ref">, "children" | keyof AbstractProps> & import("react").RefAttributes) => import("react").ReactNode; export {};