import { EventEmitter } from '../../stencil-public-runtime'; import { DeckdeckgoSlideResize } from '@deckdeckgo/slide-utils'; /** * @slot title - A title * @slot notes - Some notes related to this slide * @slot actions - Custom actions for this slide * @slot background - A custom background for this slide * @slot header - A custom header for this slide * @slot footer - A custom footer for this slide */ export declare class DeckdeckgoSlideChart implements DeckdeckgoSlideResize { el: HTMLElement; /** * Triggered when the slide is loaded */ slideDidLoad: EventEmitter; src: string; separator: string; customLoader: boolean; width: number; height: number; chartWidth: number; chartHeight: number; /** * The type of the chart, pie, line or bar */ type: string; innerRadius: number; range: string[]; datePattern: string; marginTop: number; marginBottom: number; marginLeft: number; marginRight: number; yAxisDomain: string; smooth: string; area: string; ticks: number; grid: string; animation: boolean; animationDuration: number; private redrawAfterUpdate; /** * If you define a background for the all deck but, a specific one for this slide, set this option to true */ customBackground: boolean; /** * If you provide actions for the all deck but, a specific one for this slide, set this option to true */ customActions: boolean; componentDidLoad(): Promise; onPropChanges(): Promise; componentDidUpdate(): Promise; beforeSwipe(enter: boolean, _reveal: boolean): Promise; afterSwipe(): Promise; lazyLoadContent(): Promise; revealContent(): Promise; hideContent(): Promise; private initSize; private initWindowResize; private onResizeContent; private drawChart; draw(): Promise; resizeContent(): Promise; postCustomLoad(content: string | undefined): Promise; /** * Returns the list of the random colors that have been generated. */ getRandomColors(): Promise; private getChartElement; private onChartRandomColor; render(): any; private renderChart; private renderLineChart; private renderPieChart; }