import type { SelectOption } from '../fields/field-config.js'; import type { SearchSelectOptionLoader, SearchSelectOptionResolver } from '../fields/search-select-data-source.js'; export type SearchSelectRemoteResult = readonly ['ok', TValue] | readonly ['error'] | undefined; /** Owns remote search and option-resolution requests without UI state. */ export declare class SearchSelectRemoteDataController { #private; constructor(loadOptions: SearchSelectOptionLoader, resolveOption: SearchSelectOptionResolver); search(query: string): Promise[]>>; resolve(value: TValue): Promise | undefined>>; cancel(channel: 0 | 1): void; destroy(): void; }