import { PageSelectOption } from './PageSelectOption';
export type PageAsyncSelectOptionsFn<ValueT> = (queryOptions: PageAsyncSelectQueryOptions) => Promise<PageAsyncSelectQueryResult<ValueT>>;
export interface PageAsyncSelectQueryOptions {
    next?: string | number;
    search?: string;
    signal: AbortSignal;
}
export interface PageAsyncSelectQueryResult<ValueT> {
    remaining: number;
    options: PageSelectOption<ValueT>[];
    next: string | number;
}
export type PageAsyncQueryErrorText = string | ((error: Error) => string);
