import { ThemeableComponent } from "../../common"; import { DuetColor, DuetTheme } from "../../common-types"; interface ShareChartItem { text: string; value: number; color: DuetColor; } export declare class DuetShareChart implements ThemeableComponent { private childObserver; private itemsTotalValue; private defaultColors; element: HTMLElement; items: ShareChartItem[]; /** * Theme of the component. */ theme: DuetTheme; /** * The string to show after each items value. When using "%" the enclosed items' values should add up to 100. */ unit: string; /** * Component lifecycle events. */ componentWillLoad(): void; connectedCallback(): void; disconnectedCallback(): void; /** * Local methods */ private updateChartItems; render(): any; } export {};