import { ElementRef, OnInit } from '@angular/core';
import { UntypedFormControl, UntypedFormGroup } from '@angular/forms';
import { MultilingualTranslationsService, EventService, ConfigurationsService } from '@sunbird-cb/utils-v2';
import { TranslateService } from '@ngx-translate/core';
import { AppTocService } from '../../services/app-toc.service';
import { MatLegacyAutocomplete as MatAutocomplete, MatLegacyAutocompleteSelectedEvent as MatAutocompleteSelectedEvent } from '@angular/material/legacy-autocomplete';
import { MatLegacyChipInputEvent as MatChipInputEvent } from '@angular/material/legacy-chips';
import { MatLegacySnackBar as MatSnackBar } from '@angular/material/legacy-snack-bar';
import { UserAutocompleteService } from '../../_collection/_common/user-autocomplete/user-autocomplete.service';
import * as i0 from "@angular/core";
export declare class ShareTocComponent implements OnInit {
    private userAutoComplete;
    private langtranslations;
    private translate;
    private snackBar;
    configSvc: ConfigurationsService;
    private tocSvc;
    private events;
    shareForm: UntypedFormGroup | undefined;
    selectable: boolean;
    removable: boolean;
    addOnBlur: boolean;
    separatorKeysCodes: number[];
    userCtrl: UntypedFormControl;
    filteredUsers: any[] | undefined;
    users: any[];
    allUsers: any[];
    apiResponse: any;
    courseDetails: any;
    userProfile: any;
    maxEmailsLimit: number;
    showLoader: boolean;
    rootOrgId: any;
    content: any;
    contentLink: any;
    userInput: ElementRef<HTMLInputElement> | undefined;
    matAutocomplete: MatAutocomplete | undefined;
    resetEnableShare: any;
    baseContentReadData: any;
    constructor(userAutoComplete: UserAutocompleteService, langtranslations: MultilingualTranslationsService, translate: TranslateService, snackBar: MatSnackBar, configSvc: ConfigurationsService, tocSvc: AppTocService, events: EventService);
    ngOnInit(): void;
    getUsersToShare(queryStr: string): void;
    translateLabels(label: string, type: any, subtype?: any): any;
    add(event: MatChipInputEvent): void;
    remove(user: string): void;
    selected(event: MatAutocompleteSelectedEvent): void;
    filterSharedUsers(value: string): string[];
    submitSharing(): void;
    onClose(): void;
    copyToClipboard(): void;
    raiseTelemetry(subType: any): void;
    private openSnackbar;
    resetEnableShareFlag(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<ShareTocComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<ShareTocComponent, "ws-app-share-toc", never, { "rootOrgId": { "alias": "rootOrgId"; "required": false; }; "content": { "alias": "content"; "required": false; }; "contentLink": { "alias": "contentLink"; "required": false; }; "baseContentReadData": { "alias": "baseContentReadData"; "required": false; }; }, { "resetEnableShare": "resetEnableShare"; }, never, never, false, never>;
}
//# sourceMappingURL=share-toc.component.d.ts.map