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 AsyncSelectProps = GroupBase> extends AsyncProps { isDisabled?: boolean; variantSize?: CapInputSize; variantColor?: InputVariantColor; width?: string | number; onChange?: (newValue: any) => void; loadOptions?: (inputValue: string, callback: (options: any) => void) => Promise | void; } export declare function AsyncSelect = GroupBase>({ className, width, ...props }: AsyncSelectProps): React.JSX.Element; export declare namespace AsyncSelect { var displayName: string; } export default AsyncSelect;