import { Direction } from '@angular/cdk/bidi'; import * as i0 from '@angular/core'; import { OnChanges, OnInit, TemplateRef, EventEmitter, SimpleChanges } from '@angular/core'; import { NzConfigKey } from 'ng-zorro-antd/core/config'; /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ type NzAlertType = 'success' | 'info' | 'warning' | 'error'; declare class NzAlertComponent implements OnChanges, OnInit { private cdr; private directionality; private readonly destroyRef; readonly _nzModuleName: NzConfigKey; nzAction: string | TemplateRef | null; nzCloseText: string | TemplateRef | null; nzIconType: string | null; nzMessage: string | TemplateRef | null; nzDescription: string | TemplateRef | null; nzType: 'success' | 'info' | 'warning' | 'error'; nzCloseable: boolean; nzShowIcon: boolean; nzBanner: boolean; nzNoAnimation: boolean; nzIcon: string | TemplateRef | null; readonly nzOnClose: EventEmitter; closed: boolean; iconTheme: 'outline' | 'fill'; inferredIconType: string; dir: Direction; private isTypeSet; private isShowIconSet; constructor(); ngOnInit(): void; closeAlert(): void; onFadeAnimationDone(): void; ngOnChanges(changes: SimpleChanges): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_nzCloseable: unknown; static ngAcceptInputType_nzShowIcon: unknown; static ngAcceptInputType_nzBanner: unknown; static ngAcceptInputType_nzNoAnimation: unknown; } declare class NzAlertModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { NzAlertComponent, NzAlertModule }; export type { NzAlertType };