import { EventEmitter, OnDestroy } from '@angular/core'; import { TranslocoService } from '@ngneat/transloco'; import { Subscription } from 'rxjs'; import { ClickOption, DeleteOption, TypeTables } from '../../../../interfaces/export'; import { TypeTable } from './../../../../enums/typeTable.enum'; import { TableMSService } from './../../../../services/tableMS.service'; import * as i0 from "@angular/core"; /** * table delete option */ export declare class DeleteComponent implements OnDestroy { private tableMSService; private translocoService; /** * Check deleteOption option */ option: DeleteOption; /** * Data row */ data: any; /** * table */ table: TypeTables; /** * Type Table */ typeTable: TypeTable; /** * Emitter to execute option */ clickOptionEmitter: EventEmitter; /** * Subscriptor delete */ suscriptionDelete: Subscription; /** * Constructor * @param tableMSService service that manages all communication with the api for MS */ constructor(tableMSService: TableMSService, translocoService: TranslocoService); /** * Execute option * @return void */ executeOption(): void; /** * cancel confirmation */ cancelPop(): void; /** * Get title to confirm pop up * @param option actual option (check status) * @return title */ getPopConfirmTitle(option: DeleteOption): string | undefined; /** * Generate tooltip in button option * @param option: actual option * @return string tooltip */ getToolTip(option: DeleteOption): string | undefined; /** * NgOnDestroy */ ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }