import type { Combobox } from '../combobox'; import type { Select } from '../select'; import { BaseDatasource } from '../utils'; /** * Datasource element for select/combobox option loading. * @public * * @fires value-change - Fired when the selected value changes */ export declare class OptionsDatasource extends BaseDatasource { labelField: string; optionElement: string; valueField: string; emptyDataLabel: string; allowCustomOptions: boolean; labelFormatter: any; labelRowFormatter: (any: any) => string; initialSelectedValue: string | number; initialSelectedValueChanged(oldValue: any, newValue: any): void; initalSelectedValueInitialized: boolean; protected select: Select | Combobox; isSnapshot: boolean; protected options: { value: any; label: string; }[]; baseCriteria: string; private resizeObserver; connectedCallback(): Promise; disconnectedCallback(): void; private resizeObserverCallback; selectChangeHandler: (e: any) => void; fetchData(): void; asyncModeIntialization(): Promise; clearData(): void; private checkOverflow; syncComponentData(snapshotData?: any[]): void; getInitialLabel(): string; private getDisplayForValue; resetCombobox(): void; handleStreamInserts(insertedRows: any[]): void; handleStreamDeletes(deletedRows: any[]): void; handleStreamUpdates(updatedRows: any[]): void; } //# sourceMappingURL=options-datasource.d.ts.map