import { Portal } from '@angular/cdk/portal'; import * as i0 from '@angular/core'; import { Type, TemplateRef, InjectionToken, OnChanges, OnInit, SimpleChanges } from '@angular/core'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; import { NzEmptyI18nInterface } from 'ng-zorro-antd/i18n'; /** * 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 */ /** * 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 NzEmptySize = 'normal' | 'small' | ''; type NzEmptyCustomContent = Type | TemplateRef | string | null; declare const NZ_EMPTY_COMPONENT_NAME: InjectionToken; /** * 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 NzEmptyContentType = 'component' | 'template' | 'string'; declare class NzEmbedEmptyComponent implements OnChanges, OnInit { private configService; private viewContainerRef; private cdr; private injector; nzComponentName?: string; specificContent?: NzEmptyCustomContent; content?: NzEmptyCustomContent; contentType: NzEmptyContentType; contentPortal?: Portal; size: NzEmptySize; constructor(); ngOnChanges(changes: SimpleChanges): void; ngOnInit(): void; private renderEmpty; private getUserDefaultEmptyContent; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * 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 const NzEmptyDefaultImages: readonly ["default", "simple"]; type NzEmptyNotFoundImageType = (typeof NzEmptyDefaultImages)[number] | null | string | TemplateRef; declare class NzEmptyComponent implements OnChanges, OnInit { private i18n; private cdr; private destroyRef; nzNotFoundImage: NzEmptyNotFoundImageType; nzNotFoundContent?: string | TemplateRef | null; nzNotFoundFooter?: string | TemplateRef; isContentString: boolean; isImageBuildIn: boolean; locale: NzEmptyI18nInterface; ngOnChanges(changes: SimpleChanges): void; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NzEmptyDefaultComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NzEmptySimpleComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NzEmptyModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { NZ_EMPTY_COMPONENT_NAME, NzEmbedEmptyComponent, NzEmptyComponent, NzEmptyDefaultComponent, NzEmptyModule, NzEmptySimpleComponent }; export type { NzEmptyCustomContent, NzEmptySize };