import { Direction } from '@angular/cdk/bidi'; import * as i0 from '@angular/core'; import { OnChanges, OnInit, TemplateRef, SimpleChanges } from '@angular/core'; import { NzConfigService, NzConfigKey } from 'ng-zorro-antd/core/config'; import { NzNoAnimationDirective } from 'ng-zorro-antd/core/no-animation'; import { NzSafeAny, NzSizeDSType } from 'ng-zorro-antd/core/types'; /** * 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 NzBadgeStatusType = 'success' | 'processing' | 'default' | 'error' | 'warning'; /** * 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 */ declare class NzBadgeComponent implements OnChanges, OnInit { nzConfigService: NzConfigService; private renderer; private cdr; private elementRef; private directionality; private destroyRef; readonly _nzModuleName: NzConfigKey; showSup: boolean; presetColor: string | null; dir: Direction; nzShowZero: boolean; nzShowDot: boolean; nzStandalone: boolean; nzDot: boolean; nzOverflowCount: number; nzColor?: string; nzStyle: Record | null; nzText?: string | TemplateRef | null; nzTitle?: string | null | undefined; nzStatus?: NzBadgeStatusType | string; nzCount?: number | TemplateRef; nzOffset?: [number, number]; nzSize: NzSizeDSType; noAnimation: NzNoAnimationDirective | null; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; private prepareBadgeForRtl; get isRtlLayout(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_nzShowZero: unknown; static ngAcceptInputType_nzShowDot: unknown; static ngAcceptInputType_nzStandalone: unknown; static ngAcceptInputType_nzDot: unknown; } /** * 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 */ declare class NzRibbonComponent implements OnChanges { nzColor: string | undefined; nzPlacement: 'start' | 'end'; nzText: string | TemplateRef | null; presetColor: string | null; ngOnChanges(changes: SimpleChanges): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NzBadgeModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { NzBadgeComponent, NzBadgeModule, NzRibbonComponent };