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