import type { ReactElement } from 'react';
export interface SelectOption {
    id: string;
    name: string;
}
export interface SelectWithOtherValue {
    id: string;
    customValue?: string;
}
interface SelectWithOtherProps {
    readonly label: string;
    readonly options: SelectOption[];
    readonly value: SelectWithOtherValue;
    readonly onChange: (value: SelectWithOtherValue) => void;
    readonly placeholder?: string;
    readonly disabled?: boolean;
    readonly className?: string;
    /** Allow "Other..." option to create new values. Default: true */
    readonly allowOther?: boolean;
}
export declare function SelectWithOther({ label, options, value, onChange, placeholder, disabled, className, allowOther, }: SelectWithOtherProps): ReactElement;
export {};
//# sourceMappingURL=SelectWithOther.d.ts.map