import * as i0 from '@angular/core'; import { OnChanges, OnDestroy, TemplateRef, AfterContentInit, OnInit, QueryList, SimpleChanges } from '@angular/core'; import { Direction } from '@angular/cdk/bidi'; import { NzConfigService, NzConfigKey } from 'ng-zorro-antd/core/config'; import { NzBreakpointEnum } from 'ng-zorro-antd/core/services'; import { Subject } from 'rxjs'; /** * 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 NzDescriptionsItemComponent implements OnChanges, OnDestroy { content: TemplateRef; nzSpan: number; nzTitle: string | TemplateRef; readonly inputChange$: Subject; ngOnChanges(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_nzSpan: 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 */ type NzDescriptionsSize = 'default' | 'middle' | 'small'; type NzDescriptionsLayout = 'horizontal' | 'vertical'; interface NzDescriptionsItemRenderProps { title: string | TemplateRef; span: number; content: TemplateRef; } /** * 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 NzDescriptionsComponent implements OnChanges, AfterContentInit, OnInit { nzConfigService: NzConfigService; private cdr; private breakpointService; private directionality; private destroyRef; readonly _nzModuleName: NzConfigKey; items: QueryList; nzBordered: boolean; nzLayout: NzDescriptionsLayout; nzColumn: number | Record; nzSize: NzDescriptionsSize; nzTitle: string | TemplateRef; nzExtra?: string | TemplateRef; nzColon: boolean; itemMatrix: NzDescriptionsItemRenderProps[][]; realColumn: number; dir: Direction; private breakpoint; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngAfterContentInit(): void; /** * Prepare the render matrix according to description items' spans. */ private prepareMatrix; private getColumn; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_nzBordered: unknown; static ngAcceptInputType_nzColon: unknown; } declare class NzDescriptionsModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { NzDescriptionsComponent, NzDescriptionsItemComponent, NzDescriptionsModule }; export type { NzDescriptionsItemRenderProps, NzDescriptionsLayout, NzDescriptionsSize };