import { ElementRef, OnInit } from '@angular/core';
import { MatDialogRef } from '@angular/material/dialog';
import { MatLegacyDialog } from '@angular/material/legacy-dialog';
import { MatLegacySnackBar } from '@angular/material/legacy-snack-bar';
import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
import { Router } from '@angular/router';
import { ConfigurationsService } from '@sunbird-cb/utils-v2';
import { AppTocService } from '../../../../services/app-toc.service';
import * as i0 from "@angular/core";
export declare class AssignmentViewerComponent implements OnInit {
    router: Router;
    tocSvc: AppTocService;
    configSvc: ConfigurationsService;
    private sanitizer;
    dialogRef: MatDialogRef<AssignmentViewerComponent>;
    data: any;
    private dialogLegacy;
    private snackBar;
    documentUrl: string;
    documentType: string;
    loading: boolean;
    error: boolean;
    errorMessage: string;
    safeSrc: SafeResourceUrl | null;
    docIframe: ElementRef | undefined;
    height: string;
    width: string;
    constructor(router: Router, tocSvc: AppTocService, configSvc: ConfigurationsService, sanitizer: DomSanitizer, dialogRef: MatDialogRef<AssignmentViewerComponent>, data: any, dialogLegacy: MatLegacyDialog, snackBar: MatLegacySnackBar);
    ngOnInit(): void;
    processDocumentUrl(): void;
    onIframeLoad(): void;
    onIframeError(): void;
    ngAfterViewInit(): void;
    handleClose(): void;
    submitAssignmentAsDraft(): void;
    submitAssignment(): void;
    handleSubmitAssignment(): void;
    openSnackbar(primaryMsg: string, duration?: number): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<AssignmentViewerComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<AssignmentViewerComponent, "ws-widget-app-assignment-viewer", never, {}, {}, never, never, false, never>;
}
//# sourceMappingURL=app-toc-assignment-viewer.component.d.ts.map