import { type ReactNode } from "react";
import { type GroupBase } from "react-select";
import { type CreatableProps } from "react-select/creatable";
export type Option = {
    label: ReactNode;
    value: string | number;
};
export interface ReactSelectProps extends Omit<CreatableProps<Option | Option["value"], boolean, GroupBase<Option | Option["value"]>>, "options"> {
    options: Option[];
    label?: ReactNode;
    containerClassName?: string;
    error?: boolean;
    canAddItem?: boolean;
}
export declare const ReactSelect: ({ options, label, required, error, containerClassName, className, onChange, placeholder, canAddItem, ...computedProps }: ReactSelectProps) => import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=react-select.d.ts.map