import { AbstractLayout, CodeType, InitModelOf, LookupBoxEventMap, LookupBoxModel, LookupCall, LookupCallOrModel, LookupResult, LookupRow, PropertyChangeEvent, Status, ValueField, Widget } from '../../index'; export declare abstract class LookupBox extends ValueField implements LookupBoxModel { model: LookupBoxModel; eventMap: LookupBoxEventMap; self: LookupBox; filterBox: Widget; lookupCall: LookupCall; codeType: string | (new () => CodeType); lookupStatus: Status; protected _currentLookupCall: LookupCall; protected _lookupExecuted: boolean; /** true when value is either syncing to table or table to value */ protected _valueSyncing: boolean; constructor(); static ErrorCode: { NO_DATA: number; }; protected _init(model: InitModelOf): void; protected _initValue(value: TValue[]): void; protected abstract _initStructure(value: TValue[]): any; protected _render(): void; protected abstract _createFieldContainerLayout(): AbstractLayout; protected abstract _renderStructure(): any; protected _renderFilterBox(): void; protected _ensureValue(value: TValue | TValue[]): TValue[]; protected _lookupByAll(): JQuery.Promise>; protected _executeLookup(lookupCall: LookupCall, abortExisting?: boolean): JQuery.Promise>; protected _lookupByAllDone(result: LookupResult): void; protected _errorStatus(): Status; setLookupStatus(lookupStatus: Status): void; clearErrorStatus(): void; protected _clearLookupStatus(): void; /** @see LookupBoxModel.lookupCall */ setLookupCall(lookupCall: LookupCallOrModel): void; protected _setLookupCall(lookupCall: LookupCallOrModel): void; /** @see LookupBoxModel.codeType */ setCodeType(codeType: string | (new () => CodeType)): void; protected _setCodeType(codeType: string | (new () => CodeType)): void; refreshLookup(): void; /** * @returns true if a lookup call execution has been scheduled now. false otherwise. */ protected _ensureLookupCallExecuted(): boolean; protected _formatValue(value: TValue[]): string | JQuery.Promise; abstract getCheckedLookupRows(): LookupRow[]; protected _formatLookupRows(lookupRows: LookupRow[]): string; protected _clear(): void; protected _onFilterBoxPropertyChange(event: PropertyChangeEvent): void; } //# sourceMappingURL=LookupBox.d.ts.map