import * as i0 from '@angular/core'; import { OnChanges, OnDestroy, TemplateRef, Type } from '@angular/core'; import { ITdLabel, ITdItemStyle, ITdShadow, TdTextPosition, TdTextAlign } from '@covalent/echarts/base'; type TdToolboxOrient = 'horizontal' | 'vertical'; type TdImageType = 'png' | 'jpeg'; interface ITdAcceptedBrushTypes { rect?: string; polygon?: string; lineX?: string; lineY?: string; keep?: string; clear?: string; } interface ITdAcceptedMagicTypes { line?: string; bar?: string; stack?: string; tiled?: string; } interface ITdToolboxIconEmphasis extends ITdItemStyle, ITdShadow { } interface ITdFeatureIconStyle extends ITdItemStyle, ITdShadow { textPosition?: TdTextPosition; textAlign?: TdTextAlign; emphasis?: ITdToolboxIconEmphasis; } interface ITdZoomTitles { zoom?: string; back?: string; } interface ITdSaveAsImage { type?: TdImageType; name?: string; backgroundColor?: any; excludeComponents?: string[]; show?: boolean; title?: string; icon?: string; iconStyle?: ITdFeatureIconStyle; pixelRatio?: number; } interface ITdRestore { show?: boolean; title?: string; icon?: string; iconStyle?: ITdFeatureIconStyle; } interface ITdDataView { show?: boolean; title?: string; icon?: string; iconStyle?: ITdFeatureIconStyle; readOnly?: boolean; optionToContent?: Function; contentToOption?: Function; lang?: string[]; textareaColor?: string; textareaBorderColor?: string; textColor?: string; buttonColor?: string; buttonTextColor?: string; } interface ITdDataZoom { show?: boolean; title?: ITdZoomTitles; icon?: ITdZoomTitles; iconStyle?: ITdFeatureIconStyle; xAxisIndex?: number | number[] | boolean; yAxisIndex?: number | number[] | boolean; } interface ITdMagicType { show?: boolean; type?: string[]; title?: ITdAcceptedMagicTypes; icon?: ITdAcceptedMagicTypes; iconStyle?: ITdFeatureIconStyle; option?: { line?: object; bar?: object; stack?: object; tiled?: object; }; seriesIndex?: { line?: any[]; bar?: any[]; stack?: any[]; tiled?: any[]; }; } interface ITdBrush { type?: any[]; icon?: ITdAcceptedBrushTypes; title?: ITdAcceptedBrushTypes; } interface ITdToolboxFeature { saveAsImage?: ITdSaveAsImage; restore?: ITdRestore; dataView?: ITdDataView; dataZoom?: ITdDataZoom; magicType?: ITdMagicType; brush?: ITdBrush; } declare class TdChartViewDataFormatterDirective { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class TdChartToolboxComponent implements OnChanges, OnDestroy { private _changeDetectorRef; private _elementRef; private _optionsService; private _state; config: any; show: boolean; trigger?: string; orient?: TdToolboxOrient; itemSize?: number; itemGap?: number; showTitle?: boolean | undefined; label?: ITdLabel; feature?: ITdToolboxFeature; iconStyle?: ITdFeatureIconStyle; zlevel?: number; z?: number; transitionDuration: number; left: string | number; top: string | number; right: string | number; bottom: string | number; width: string | number; height: string | number; formatterTemplate: TemplateRef; fullTemplate: TemplateRef; ngOnChanges(): void; ngOnDestroy(): void; private _setOptions; private _removeOption; private _checkFormatterTemplate; private _optionToContentFormatter; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare const TOOLBOX_MODULE_COMPONENTS: Type[]; /** * @deprecated This module is deprecated and will be removed in future versions. * Please migrate to using standalone components as soon as possible. */ declare class CovalentToolboxEchartsModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { CovalentToolboxEchartsModule, TOOLBOX_MODULE_COMPONENTS, TdChartToolboxComponent, TdChartViewDataFormatterDirective }; export type { ITdAcceptedBrushTypes, ITdAcceptedMagicTypes, ITdBrush, ITdDataView, ITdDataZoom, ITdFeatureIconStyle, ITdMagicType, ITdRestore, ITdSaveAsImage, ITdToolboxFeature, ITdToolboxIconEmphasis, ITdZoomTitles, TdImageType, TdToolboxOrient };