import { OnInit } from '@angular/core';
import { UntypedFormGroup } from '@angular/forms';
import { EventService, LoggerService, NsContent } from '@sunbird-cb/utils-v2';
import { RatingService } from '../../../_services/rating.service';
import { Router } from '@angular/router';
import { MatLegacyDialogRef as MatDialogRef } from '@angular/material/legacy-dialog';
import { MatLegacySnackBar as MatSnackBar } from '@angular/material/legacy-snack-bar';
import * as i0 from "@angular/core";
export declare class ContentRatingV2DialogComponent implements OnInit {
    dialogRef: MatDialogRef<ContentRatingV2DialogComponent>;
    data: any;
    private events;
    private ratingSvc;
    private loggerSvc;
    private snackBar;
    private router;
    ccuserRating: any;
    navigatetoTOC: any;
    rateFromCompletionDialog: any;
    isEditMode: boolean;
    collectionId: string;
    content: NsContent.IContent | null;
    userRating: number;
    feedbackForm: UntypedFormGroup;
    showSuccessScreen: boolean;
    formDisabled: boolean;
    isEdited: boolean;
    private unsubscribe;
    constructor(dialogRef: MatDialogRef<ContentRatingV2DialogComponent>, data: any, events: EventService, ratingSvc: RatingService, loggerSvc: LoggerService, snackBar: MatSnackBar, router: Router);
    ngOnInit(): void;
    submitRating(feedbackForm: any): void;
    raiseFeedbackTelemetry(feedbackForm: any): void;
    addRating(index: number): void;
    closeDialog(val: boolean): void;
    private openSnackbar;
    static ɵfac: i0.ɵɵFactoryDeclaration<ContentRatingV2DialogComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<ContentRatingV2DialogComponent, "ws-widget-content-rating-v2-dialog", never, { "ccuserRating": { "alias": "ccuserRating"; "required": false; }; "navigatetoTOC": { "alias": "navigatetoTOC"; "required": false; }; "rateFromCompletionDialog": { "alias": "rateFromCompletionDialog"; "required": false; }; "isEditMode": { "alias": "isEditMode"; "required": false; }; "collectionId": { "alias": "collectionId"; "required": false; }; }, {}, never, never, false, never>;
}
//# sourceMappingURL=content-rating-v2-dialog.component.d.ts.map