import { Injector } from '@angular/core';
import { TranslateService } from '@ngx-translate/core';
import { ConfirmationService, Message, MessageService } from 'tn-custom-primeng/api';
import { ResponseResult } from '../models/response-result';
import { ModuleConfigService } from './module-config.service';
export declare class NotifierService {
    private _messageService;
    private _confirmService;
    private _moduleConfigService;
    private _timeOut;
    environment: any;
    private _translateService;
    constructor(_messageService: MessageService, _confirmService: ConfirmationService, _moduleConfigService: ModuleConfigService, _injector: Injector);
    setService(opts?: {
        env?: any;
        translateService?: TranslateService;
        messageService?: MessageService;
        confirmService?: ConfirmationService;
    }): void;
    showSuccess(message: string, header?: string, life?: number): void;
    showInsertDataSuccess(life?: number): void;
    showUpdateDataSuccess(life?: number): void;
    showDeleteDataSuccess(life?: number): void;
    showDeleteDataError(life?: number): void;
    showDeleteDataEmptyError(life?: number): void;
    showDuplicateDataError(life?: number): void;
    showWarning(message: string, header?: string, life?: number): void;
    showError(message: string, key?: string, header?: string, life?: number): void;
    showException(err: any, header?: string, life?: number): void;
    showWarningByResponse(res: ResponseResult): void;
    showBusinessError(message: string, key?: string, header?: string, life?: number): void;
    showHttpUnknowError(life?: number): void;
    showResponseError(status: number, life?: number, serviceName?: string): void;
    showInsertDataFailed(life?: number): void;
    showUpdateDataFailed(life?: number): void;
    showLockUserFailed(life?: number): void;
    showUnlockUserFailed(life?: number): void;
    showUpdateDataSingleFailed(life?: number): void;
    showUpdateDataConfigurationFailed(life?: number): void;
    genericShow(message: string, header: string, icon: string, acceptVisible: boolean, acceptLabel: string, acceptIcon: string, rejectLabel: string, rejectIcon: string, accept: Function, reject: Function, notifierType: NotifierType): void | Promise<any>;
    showConfirm(message: string, header?: string, icon?: string, acceptVisible?: boolean, rejectLabel?: string, rejectIcon?: string, acceptLabel?: string, acceptIcon?: string, accept?: Function, rejectFunc?: Function, acceptButtonStyleClass?: string, rejectButtonStyleClass?: string): Promise<any>;
    showConfirmMany(message: string, time?: number, delay?: number, header?: string, icon?: string, acceptVisible?: boolean, rejectLabel?: string, delayTimeout?: number): Promise<any>;
    showDeleteConfirm(message?: string, icon?: string): Promise<any>;
    addErrorMessage(msgs: Message[], content: any): void;
    clearErrorMessage(msgs: Message[]): void;
}
export declare enum NotifierType {
    CONFIRM = 0,
    ERROR = 1
}
//# sourceMappingURL=notifier.service.d.ts.map