import { OnDestroy, AfterViewChecked, Injector } from '@angular/core'; import { SelectionModel } from '@angular/cdk/collections'; import { MatTableDataSource } from '@angular/material/table'; import { NgbActiveModal as ActiveModal, NgbModal as Modal } from '@ng-bootstrap/ng-bootstrap'; import { EntityService } from '../../../services/core/entity.service'; import { EntityLiteral } from '../../../core/types'; import { LookupDlgData, LookupDlgResult } from '../../core/types'; import { MelModal } from '../mel-modal'; import { RowUI } from '../../core/rowUI'; import { Entity } from '../../../models/entity'; import * as i0 from "@angular/core"; export declare class LookupDlgComponent extends MelModal implements OnDestroy, AfterViewChecked { private injector; modal: Modal; constructor(modalRef: ActiveModal, injector: Injector, modal: Modal); get returnValue(): LookupDlgResult | undefined; caption: string; selection: SelectionModel>; datasource: MatTableDataSource>; private _rec?; displayColumns: string[]; captions: string[]; scollToIndex?: string; _selectedRow?: RowUI; returnFieldname: string; get selectedRow(): RowUI | undefined; set selectedRow(rowToSelect: RowUI | undefined); get Rec(): EntityService; set dlgData(data: LookupDlgData); ngAfterViewChecked(): void; ngOnDestroy(): void; refresh(): void; afterFindMany(entities: EntityLiteral[]): EntityLiteral[]; toggle(row: RowUI): void; getBackgroundColor(row: RowUI, index: number): "" | "LightYellow" | "WhiteSmoke"; runFilterDialog(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare function lookupDlg(modal: Modal, dlgData: LookupDlgData): Promise;