import React, { ReactNode } from "react"; import { ButtonProps } from "./Button"; type SelectValueType = number | string | boolean; declare const multipleDefault = false; declare const sizes: readonly ["xs", "sm", "md"]; export type SelectProps = { clearButton?: IsMultiple extends true ? never : { onClick: () => void; title?: ButtonProps["title"]; theme?: ButtonProps["theme"]; variant?: ButtonProps["variant"]; }; defaultValue?: IsMultiple extends true ? ValueType[] : ValueType; disabled?: boolean; emptyValue?: string; id?: string; inline?: boolean; isLoading?: boolean; optionsMaxWidth?: "100%" | `${number}px`; multiple?: IsMultiple; onChange?: IsMultiple extends true ? (event: { value: ValueType[]; selectedValue: ValueType; }) => unknown : (event: { value: ValueType; selectedValue: ValueType; }) => unknown; options: Array<{ label: string; optgroup?: Array<{ label: string; value: ValueType; }>; value: ValueType; }>; renderValue?: (item: SelectValueType) => ReactNode; size?: (typeof sizes)[number]; value?: IsMultiple extends true ? ValueType[] : ValueType; }; export declare const Select: ({ clearButton, defaultValue, disabled, emptyValue, id, inline, isLoading, optionsMaxWidth, onChange, multiple, options, renderValue, size, value, }: SelectProps) => React.JSX.Element; export {}; //# sourceMappingURL=Select.d.ts.map