import { OnInit } from '@angular/core';
import { MatDialog } from '@angular/material/dialog';
import { MatLegacySnackBar } from '@angular/material/legacy-snack-bar';
import { ActivatedRoute, Router } from '@angular/router';
import { ConfigurationsService } from '@sunbird-cb/utils-v2';
import { AppTocService } from '../../../../services/app-toc.service';
import { MatLegacyDialog } from '@angular/material/legacy-dialog';
import * as i0 from "@angular/core";
export declare class AppTocBatchAssignmentsComponent implements OnInit {
    router: Router;
    private snackBar;
    tocSvc: AppTocService;
    configSvc: ConfigurationsService;
    private dialog;
    private dialogLegacy;
    private route;
    content: any;
    assignments: any[];
    allowType: string[];
    fileExtention: any;
    resourceFileAdded: any;
    isLoading: boolean;
    selectedAssignment: any;
    batchId: any;
    submissions: any[];
    constructor(router: Router, snackBar: MatLegacySnackBar, tocSvc: AppTocService, configSvc: ConfigurationsService, dialog: MatDialog, dialogLegacy: MatLegacyDialog, route: ActivatedRoute);
    ngOnInit(): void;
    getUserAssignmentStatus(): void;
    processAssignmentsWithStatus(): void;
    fetchAssignments(): void;
    handleViewFeedback(assignment: any): void;
    downloadFile(assignment: any): void;
    downloadFileDirectly(assignment: any): void;
    downloadFileWithFetch(assignment: any): Promise<void>;
    triggerFileUpload(assignment: any): void;
    submitAssignment(assessment: any): void;
    fileInputEmit(fileInput: FileList | null): void;
    upload(file: any): Promise<void>;
    previewAssignments(result: any): void;
    callingViewAssignments(url: any): void;
    checkFileType(file: File): boolean;
    getMarks(submissionMeta: any): string;
    openSnackbar(primaryMsg: string, duration?: number): void;
    extractFilenameFromUrl(url: string): string;
    static ɵfac: i0.ɵɵFactoryDeclaration<AppTocBatchAssignmentsComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<AppTocBatchAssignmentsComponent, "ws-widget-app-batch-assignments", never, { "content": { "alias": "content"; "required": false; }; }, {}, never, never, false, never>;
}
//# sourceMappingURL=app-toc-batch-assignments.component.d.ts.map