import type { IconName } from "@nulogy/icons"; import { type ReactNode } from "react"; import type { GroupBase } from "react-select"; import type { AsyncProps } from "react-select/async"; import type Select from "react-select/base"; import { type ComponentVariant } from "../NDSProvider/ComponentVariantContext"; type AsyncCustomProps> = { autocomplete?: AsyncProps["isSearchable"]; labelText?: string; variant?: ComponentVariant; requirementText?: string; helpText?: ReactNode; disabled?: AsyncProps["isDisabled"]; errorMessage?: string; errorList?: string[]; initialIsOpen?: AsyncProps["defaultMenuIsOpen"]; multiselect?: AsyncProps["isMulti"]; maxHeight?: string; defaultValue?: AsyncProps["defaultInputValue"]; iconLeft?: IconName | "loading"; }; export type AsyncSelectProps> = Omit, "isSearchable" | "isDisabled" | "isMulti" | "defaultMenuIsOpen" | "defaultInputValue"> & AsyncCustomProps; declare const AsyncSelect: import("react").ForwardRefExoticComponent>, "isMulti" | "isDisabled" | "isSearchable" | "defaultMenuIsOpen" | "defaultInputValue"> & AsyncCustomProps> & import("react").RefAttributes>>>; export default AsyncSelect;