import React from "react";
import type { DropdownFieldProps } from "../FormFieldApi.js";
export interface AsyncDropdownFieldProps<
	V,
	Multiple extends boolean = false
> extends Omit<DropdownFieldProps<V, Multiple>, "popupStatus" | "trailingItem"> {
	/** Whether the data source is currently loading. */
	isLoading: boolean;
	/** Whether the data source is currently searching. */
	isSearching: boolean;
	/** Whether more pages of data are available to fetch. */
	hasMore: boolean;
	/**
	* Called when the user scrolls to the bottom and more data is available.
	*/
	onFetchMore: () => void;
	/**
	* The error from the most recent failed fetch, if any.
	*/
	fetchError?: Error;
}
export declare const AsyncDropdownField: <
	V,
	Multiple extends boolean = false
>(props: AsyncDropdownFieldProps<V, Multiple>) => React.ReactElement;
