import React from "react";
import { CSSObjectWithLabel, PropsValue } from "react-select";
export type SelectOption = {
    readonly value: any | object | null;
    readonly label: React.ReactNode;
    readonly icon?: (props: React.SVGProps<SVGSVGElement>) => JSX.Element;
    readonly link?: string;
    readonly isDisabled?: boolean;
};
interface SelectProps {
    options?: SelectOption[];
    onChange?: (option: any) => void;
    defaultValue?: SelectOption | SelectOption[];
    isSearchable?: boolean;
    style?: CSSObjectWithLabel;
    placeholder?: string;
    value?: PropsValue<SelectOption> | undefined;
    isDisabled?: boolean;
    handleClearValue?: () => void;
    variant?: "autocomplete" | "select" | "creatable" | "multi-autocomplete";
    borderRadius?: string;
    menuPortalTarget?: HTMLElement;
}
export declare const truncatedTextActive: (ref: React.RefObject<HTMLParagraphElement>) => boolean;
declare function CustomSelect({ options, onChange, defaultValue, handleClearValue, value, isSearchable, style, isDisabled, placeholder, variant, borderRadius, menuPortalTarget, }: SelectProps): JSX.Element;
export default CustomSelect;
