import * as i0 from '@angular/core'; import { OnInit, OnChanges, SimpleChanges } from '@angular/core'; /** * 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 NzSkeletonParagraphWidth = number | string | Array; type NzSkeletonButtonShape = 'square' | 'circle' | 'round' | 'default'; type NzSkeletonAvatarShape = 'square' | 'circle'; type NzSkeletonInputSize = 'large' | 'small' | 'default'; type NzSkeletonButtonSize = NzSkeletonInputSize; type NzSkeletonAvatarSize = NzSkeletonInputSize | number; interface NzSkeletonAvatar { size?: NzSkeletonAvatarSize; shape?: NzSkeletonAvatarShape; } interface NzSkeletonTitle { width?: number | string; } interface NzSkeletonParagraph { rows?: number; width?: NzSkeletonParagraphWidth; } /** * 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 NzSkeletonComponent implements OnInit, OnChanges { private cdr; nzActive: boolean; nzLoading: boolean; nzRound: boolean; nzTitle: NzSkeletonTitle | boolean; nzAvatar: NzSkeletonAvatar | boolean; nzParagraph: NzSkeletonParagraph | boolean; title: NzSkeletonTitle; avatar: NzSkeletonAvatar; paragraph: NzSkeletonParagraph; rowsList: number[]; widthList: Array; protected toCSSUnit(value?: number | string): string; private getTitleProps; private getAvatarProps; private getParagraphProps; private getProps; private getWidthList; private updateProps; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_nzActive: unknown; static ngAcceptInputType_nzLoading: unknown; static ngAcceptInputType_nzRound: 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 NzSkeletonElementDirective { nzActive: boolean; nzType: 'button' | 'input' | 'avatar' | 'image'; nzBlock: boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; static ngAcceptInputType_nzActive: unknown; static ngAcceptInputType_nzBlock: unknown; } declare class NzSkeletonElementButtonComponent { nzShape: NzSkeletonButtonShape; nzSize: NzSkeletonButtonSize; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NzSkeletonElementAvatarComponent implements OnChanges { nzShape: NzSkeletonAvatarShape; nzSize: NzSkeletonAvatarSize; styleMap: {}; ngOnChanges(changes: SimpleChanges): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NzSkeletonElementInputComponent { nzSize: NzSkeletonInputSize; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NzSkeletonElementImageComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NzSkeletonModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { NzSkeletonComponent, NzSkeletonElementAvatarComponent, NzSkeletonElementButtonComponent, NzSkeletonElementDirective, NzSkeletonElementImageComponent, NzSkeletonElementInputComponent, NzSkeletonModule }; export type { NzSkeletonAvatar, NzSkeletonAvatarShape, NzSkeletonAvatarSize, NzSkeletonButtonShape, NzSkeletonButtonSize, NzSkeletonInputSize, NzSkeletonParagraph, NzSkeletonParagraphWidth, NzSkeletonTitle };