/** @jsxRuntime classic */ /** @jsx jsx */ import { jsx } from '@keystone-ui/core'; import { type Options, type Props } from 'react-select'; import { type WidthType } from "./types.js"; type Option = { label: string; value: string; isDisabled?: boolean; }; type BaseSelectProps = Omit, 'value' | 'onChange' | 'isMulti' | 'isOptionDisabled'> & { width?: WidthType; }; export { components as selectComponents } from 'react-select'; export declare function Select({ id, onChange, value, width: widthKey, portalMenu, styles, ...props }: BaseSelectProps & { value: Option | null; portalMenu?: true; onChange(value: Option | null): void; }): jsx.JSX.Element; export declare function MultiSelect({ id, onChange, value, width: widthKey, portalMenu, styles, ...props }: BaseSelectProps & { value: Options