/** * 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 */ import { Platform } from '@angular/cdk/platform'; import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges } from '@angular/core'; import { VtsConfigKey, VtsConfigService } from '@ui-vts-kit/ng-vts/core/config'; import { BooleanInput, NgClassInterface, NgStyleInterface, NumberInput } from '@ui-vts-kit/ng-vts/core/types'; import * as i0 from "@angular/core"; export type VtsAvatarSize = 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl'; export type VtsAvatarShape = 'rounded' | 'circle' | 'square'; export declare class VtsAvatarComponent implements OnChanges { vtsConfigService: VtsConfigService; private elementRef; private cdr; private platform; static ngAcceptInputType_vtsGap: NumberInput; static ngAcceptInputType_vtsLoading: BooleanInput; readonly _vtsModuleName: VtsConfigKey; vtsShape: VtsAvatarShape; vtsSize: VtsAvatarSize | number; vtsGap: number; vtsText?: string; vtsSrc?: string; vtsSrcSet?: string; vtsAlt?: string; vtsIcon?: string; vtsLoading: boolean; readonly vtsError: EventEmitter; hasText: boolean; hasSrc: boolean; hasIcon: boolean; textStyles: NgStyleInterface; classMap: NgClassInterface; customSize: string | null; textEl?: ElementRef; private el; constructor(vtsConfigService: VtsConfigService, elementRef: ElementRef, cdr: ChangeDetectorRef, platform: Platform); imgError($event: Event): void; ngOnChanges(): void; private calcStringSize; private notifyCalc; private setSizeStyle; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }