import { Observable } from 'rxjs'; import { IFilterPagination, IPaginator } from '@devstroupe/devkit-core'; export interface IRelationshipLookupConfig { loader: (filter: IFilterPagination) => Observable>; valueField?: keyof T & string; displayField?: keyof T & string; pageSize?: number; minSearchLength?: number; filters?: Record; } export interface IRelationshipLookupOption { label: string; value: any; } export declare class RelationshipLookup> { private readonly config; readonly valueField: string; readonly displayField: string; readonly pageSize: number; readonly minSearchLength: number; items: T[]; page: number; search: string; loading: boolean; hasMore: boolean; private requestVersion; private subscription?; private readonly pinnedItems; constructor(config: IRelationshipLookupConfig); get options(): IRelationshipLookupOption[]; load(reset?: boolean): void; setSearch(search: string): void; loadMore(): void; include(item: T | null | undefined): void; destroy(): void; private unique; }