import * as React from 'react'; import type { GroupBase } from 'react-select'; import type { AsyncProps } from 'react-select/async'; import { CapInputSize, InputVariantColor } from '../enums'; export interface AsyncCreatableSelectProps = GroupBase> extends AsyncProps { isDisabled?: boolean; variantSize?: CapInputSize; variantColor?: InputVariantColor; width?: string | number; formatCreateLabel?: (userInput: string) => React.ReactNode; onCreateOption?: (userInput: string) => void; onChange?: (newValue: any) => void; loadOptions?: (inputValue: string, callback: (options: any) => void) => Promise | void; } export declare function AsyncCreatableSelect = GroupBase>({ className, width, ...props }: AsyncCreatableSelectProps): React.JSX.Element; export declare namespace AsyncCreatableSelect { var displayName: string; } export default AsyncCreatableSelect;