import * as i0 from '@angular/core'; import { TemplateRef, EventEmitter } from '@angular/core'; import { Event } from '@antv/g2'; import { G2BaseComponent, G2InteractionType } from '@delon/chart/core'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; import * as i1 from '@angular/common'; import * as i2 from 'ng-zorro-antd/divider'; import * as i3 from 'ng-zorro-antd/core/outlet'; import * as i4 from 'ng-zorro-antd/skeleton'; interface G2PieData { x: NzSafeAny; y: number; [key: string]: NzSafeAny; } interface G2PieClickItem { item: G2PieData; ev: Event; } interface G2PieRatio { /** 占比文本,默认:`占比` */ text: string; /** 反比文本,默认:`反比` */ inverse: string; /** 正比颜色,默认使用 `color` 值 */ color: string; /** 反比颜色,默认:`#F0F2F5` */ inverseColor: string; } declare class G2PieComponent extends G2BaseComponent { private percentColor; legendData: NzSafeAny[]; isPercent: boolean; animate: boolean; color: string; subTitle?: string | TemplateRef | null; total?: string | number | TemplateRef | null; height: number; hasLegend: boolean; inner: number; padding: number | number[] | 'auto'; percent?: number; tooltip: boolean; lineWidth: number; blockMaxWidth: number; select: boolean; valueFormat?: (y: number) => string; data: G2PieData[]; colors?: string[]; interaction: G2InteractionType; ratio: G2PieRatio; readonly clickItem: EventEmitter; block: boolean; private fixData; private updateBlock; install(): void; changeData(): void; private genLegend; _click(i: number): void; onChanges(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_animate: unknown; static ngAcceptInputType_height: unknown; static ngAcceptInputType_hasLegend: unknown; static ngAcceptInputType_percent: unknown; static ngAcceptInputType_tooltip: unknown; static ngAcceptInputType_lineWidth: unknown; static ngAcceptInputType_blockMaxWidth: unknown; static ngAcceptInputType_select: unknown; } declare class G2PieModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { G2PieComponent, G2PieModule }; export type { G2PieClickItem, G2PieData, G2PieRatio };