import * as React from "react"; import { Props as ReactSelectProps, StylesConfig, type MenuListProps } from "react-select"; import { Theme } from "../../themes"; export declare const getOverrideStyles: (theme: Theme, error: boolean) => StylesConfig, boolean>; export type OptionType = { label: string; value: T; }; export declare const ReactSelectMenuList: ({ children, innerRef, innerProps, maxHeight, }: MenuListProps, boolean>) => React.JSX.Element; /** * @deprecated このコンポーネントは非推奨です。代わりに `Select2` を使用してください。 */ export type SelectProps = { minWidth?: string; placeholder?: string; error?: boolean; emptyMessage?: string; } & ReactSelectProps, IsMulti>; /** * @deprecated このコンポーネントは非推奨です。代わりに `Select2` を使用してください。 */ declare const Select: (inProps: SelectProps, ref: React.Ref) => React.ReactElement>; declare const _default: (props: SelectProps & { ref?: React.ForwardedRef; }) => ReturnType; export default _default;