import { OnInit } from '@angular/core';
import { FormBuilder, FormGroup } from '@angular/forms';
import { MatDialogRef } from '@angular/material/dialog';
import { MatSnackBar } from '@angular/material/snack-bar';
import { SharedService } from '../../modules/shared/services/shared.service';
import * as i0 from "@angular/core";
export declare class SuggestMoreCoursesComponent implements OnInit {
    dialogRef: MatDialogRef<SuggestMoreCoursesComponent>;
    data: any;
    private fb;
    sharedService: SharedService;
    snackBar: MatSnackBar;
    searchText: string;
    suggestedCourses: any;
    originalData: any;
    selectFilterCourses: any;
    planData: any;
    loading: boolean;
    currentPage: number;
    pageSize: number;
    totalCount: number;
    totalPages: number;
    filterForm: FormGroup;
    competenciesType: string[];
    ratings: string[];
    languages: string[];
    durations: {
        label: string;
        value: string;
    }[];
    providers: any[];
    filteredCompetency: string[];
    filteredRatings: string[];
    filteredLanguages: string[];
    filteredDurations: {
        label: string;
        value: string;
    }[];
    filteredProviders: any[];
    fullCourseList: any[];
    selectedCompetency: string;
    selectedRating: string | null;
    selectedLanguage: string | null;
    selectedDuration: string | null;
    selectedProvider: string | null;
    filterdCourses: any;
    constructor(dialogRef: MatDialogRef<SuggestMoreCoursesComponent>, data: any, fb: FormBuilder, sharedService: SharedService, snackBar: MatSnackBar);
    ngOnInit(): void;
    searchData(): void;
    loadAllCourses(): void;
    cancel(): void;
    performSearch(): void;
    goToFirstPage(): void;
    goToPreviousPage(): void;
    goToNextPage(): void;
    goToLastPage(): void;
    clearSearch(): void;
    get hasPreviousPage(): boolean;
    get hasNextPage(): boolean;
    get startItem(): number;
    get endItem(): number;
    filterData(searchText: string): any[];
    flattenObjectToString(obj: any): string;
    addCourses(): void;
    selectAllCourses(event: any): void;
    selectedFilterCourses(event: any, item: any): void;
    checkIfCourseExists(item: any): boolean;
    onImgError(event: Event): void;
    redirectToCoure(item: any): void;
    applyFilter(value: any): void;
    applyFilters(): void;
    loadCoursesByFilters(): void;
    onSearchChange(value: string): void;
    onPageChange(page: number): void;
    resetFilters(): void;
    filterList(value: string, type: string): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<SuggestMoreCoursesComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<SuggestMoreCoursesComponent, "app-suggest-more-courses", never, {}, {}, never, never, false, never>;
}
//# sourceMappingURL=suggest-more-courses.component.d.ts.map