import { MatDialogRef } from '@angular/material/dialog';
import { ChangeDetectorRef, ElementRef } from '@angular/core';
import { FormBuilder, FormGroup, FormControl } from '@angular/forms';
import { MatSnackBar } from '@angular/material/snack-bar';
import { SharedService } from '../../modules/shared/services/shared.service';
import { Router } from '@angular/router';
import * as i0 from "@angular/core";
export declare class ApprovalRequestFormComponent {
    dialogRef: MatDialogRef<ApprovalRequestFormComponent>;
    data: any;
    private fb;
    private cdRef;
    private sharedService;
    private snackBar;
    router: Router;
    approvalRequestForm: FormGroup;
    cbpPlanFinalObj: any;
    loading: boolean;
    mdoRef?: ElementRef;
    mdoFilterEnable: boolean;
    isLoadingMoremdos: boolean;
    mdoOffset: number;
    odcsmdoCount: number;
    defaultSearchmdoCount: number;
    mdoListLoadCount: number;
    mdoDefaultLoadCount: number;
    noMoreLegacymdos: boolean;
    mdoSearchText: string;
    mdoInitInProgress: boolean;
    scrollListenerAttached: boolean;
    masterData: any;
    role_mapping_ids: any[];
    constructor(dialogRef: MatDialogRef<ApprovalRequestFormComponent>, data: any, fb: FormBuilder, cdRef: ChangeDetectorRef, sharedService: SharedService, snackBar: MatSnackBar, router: Router);
    ngOnInit(): void;
    private getmdoSafe;
    initializeForm(): void;
    cancelForm(): void;
    savemdo(): void;
    closeDialog(): void;
    getmdo(searchText?: string, offset?: number): void;
    onmdoDropdownClosed(): void;
    mdoSearch(evt: any): void;
    setupScrollListener(opened: boolean): void;
    onmdoSelectScroll(event: any): void;
    get searchmdoControl(): FormControl;
    clearMdoSearch(): void;
    private resetMdoList;
    static ɵfac: i0.ɵɵFactoryDeclaration<ApprovalRequestFormComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<ApprovalRequestFormComponent, "app-approval-request-form", never, {}, {}, never, never, false, never>;
}
//# sourceMappingURL=approval-request-form.component.d.ts.map