import { DataResponse, LoadDataRequest, Measure } from '@embeddable.com/core'; import { PieChartClickArg } from '../pies.types'; import { Inputs } from '@embeddable.com/react'; declare const meta: { readonly name: "DonutLabelChartPro"; readonly label: "Donut Label Chart"; readonly description: "Same as DonutChartPro with a customizable center text label. Use when the center space can provide a useful summary (e.g. total, label)."; readonly category: "Pie Charts"; readonly defaultHeight: 442; readonly defaultWidth: 630; readonly inputs: [{ readonly name: "dataset"; readonly type: "dataset"; readonly label: "Dataset"; readonly required: true; readonly category: "Component Data"; }, { readonly inputs: [...any[], { readonly name: "showValueAsPercentage"; readonly type: "boolean"; readonly label: "Show values as percentage"; readonly defaultValue: false; }]; readonly name: "measure"; readonly type: "measure"; readonly label: "Measure"; readonly config: { readonly dataset: "dataset"; }; readonly required: true; readonly category: "Component Data"; }, { readonly name: "dimension"; readonly type: "dimension"; readonly label: "Dimension"; readonly config: { readonly dataset: "dataset"; }; readonly required: true; readonly category: "Component Data"; readonly inputs: any[]; }, { readonly name: "innerLabelMeasure"; readonly label: "Inner label measure"; readonly type: "measure"; readonly config: { readonly dataset: "dataset"; }; readonly required: true; readonly category: "Component Data"; readonly inputs: any[]; }, { readonly name: "innerLabelText"; readonly label: "Inner label text"; readonly description: "Text to display inside the donut chart"; readonly category: "Component Data"; readonly type: "string"; }, { readonly name: "title"; readonly type: "string"; readonly label: "Title"; readonly category: "Component Header"; }, { readonly name: "description"; readonly type: "string"; readonly label: "Description"; readonly category: "Component Header"; }, { readonly name: "tooltip"; readonly type: "string"; readonly label: "Tooltip"; readonly category: "Component Header"; }, { readonly name: "showLegend"; readonly type: "boolean"; readonly label: "Show legend"; readonly defaultValue: true; readonly category: "Component Settings"; }, { readonly name: "maxLegendItems"; readonly type: "number"; readonly label: "Max legend items"; readonly defaultValue: 10; readonly category: "Component Data"; }, { readonly name: "showTooltips"; readonly type: "boolean"; readonly label: "Show tooltips"; readonly defaultValue: true; readonly category: "Component Settings"; }, { readonly name: "showValueLabels"; readonly type: "boolean"; readonly label: "Show value labels"; readonly defaultValue: true; readonly category: "Component Settings"; }, { readonly name: "menuOptions"; readonly type: import("@embeddable.com/core").EmbeddableType; readonly label: "Menu options"; readonly array: true; readonly defaultValue: readonly ["csv", "xlsx", "png"]; readonly category: "Component Settings"; }]; readonly events: [{ readonly name: "onSegmentClick"; readonly label: "A segment is clicked"; readonly properties: [{ readonly name: "dimensionValue"; readonly label: "Clicked dimension"; readonly type: "string"; }, { readonly name: "dimensionTimeRange"; readonly label: "Clicked dimension time range"; readonly type: "timeRange"; }]; }]; }; export declare const donutLabelChartPro: { readonly Component: (props: import("./index").DonutLabelChartProProps) => import("react").JSX.Element; readonly meta: { readonly name: "DonutLabelChartPro"; readonly label: "Donut Label Chart"; readonly description: "Same as DonutChartPro with a customizable center text label. Use when the center space can provide a useful summary (e.g. total, label)."; readonly category: "Pie Charts"; readonly defaultHeight: 442; readonly defaultWidth: 630; readonly inputs: [{ readonly name: "dataset"; readonly type: "dataset"; readonly label: "Dataset"; readonly required: true; readonly category: "Component Data"; }, { readonly inputs: [...any[], { readonly name: "showValueAsPercentage"; readonly type: "boolean"; readonly label: "Show values as percentage"; readonly defaultValue: false; }]; readonly name: "measure"; readonly type: "measure"; readonly label: "Measure"; readonly config: { readonly dataset: "dataset"; }; readonly required: true; readonly category: "Component Data"; }, { readonly name: "dimension"; readonly type: "dimension"; readonly label: "Dimension"; readonly config: { readonly dataset: "dataset"; }; readonly required: true; readonly category: "Component Data"; readonly inputs: any[]; }, { readonly name: "innerLabelMeasure"; readonly label: "Inner label measure"; readonly type: "measure"; readonly config: { readonly dataset: "dataset"; }; readonly required: true; readonly category: "Component Data"; readonly inputs: any[]; }, { readonly name: "innerLabelText"; readonly label: "Inner label text"; readonly description: "Text to display inside the donut chart"; readonly category: "Component Data"; readonly type: "string"; }, { readonly name: "title"; readonly type: "string"; readonly label: "Title"; readonly category: "Component Header"; }, { readonly name: "description"; readonly type: "string"; readonly label: "Description"; readonly category: "Component Header"; }, { readonly name: "tooltip"; readonly type: "string"; readonly label: "Tooltip"; readonly category: "Component Header"; }, { readonly name: "showLegend"; readonly type: "boolean"; readonly label: "Show legend"; readonly defaultValue: true; readonly category: "Component Settings"; }, { readonly name: "maxLegendItems"; readonly type: "number"; readonly label: "Max legend items"; readonly defaultValue: 10; readonly category: "Component Data"; }, { readonly name: "showTooltips"; readonly type: "boolean"; readonly label: "Show tooltips"; readonly defaultValue: true; readonly category: "Component Settings"; }, { readonly name: "showValueLabels"; readonly type: "boolean"; readonly label: "Show value labels"; readonly defaultValue: true; readonly category: "Component Settings"; }, { readonly name: "menuOptions"; readonly type: import("@embeddable.com/core").EmbeddableType; readonly label: "Menu options"; readonly array: true; readonly defaultValue: readonly ["csv", "xlsx", "png"]; readonly category: "Component Settings"; }]; readonly events: [{ readonly name: "onSegmentClick"; readonly label: "A segment is clicked"; readonly properties: [{ readonly name: "dimensionValue"; readonly label: "Clicked dimension"; readonly type: "string"; }, { readonly name: "dimensionTimeRange"; readonly label: "Clicked dimension time range"; readonly type: "timeRange"; }]; }]; }; readonly preview: { ({ embeddableTheme, }: { embeddableTheme: any; }): React.JSX.Element; displayName: string; }; readonly previewConfig: { dimension: import("@embeddable.com/core").Dimension; measure: Measure; results: DataResponse; innerLabelText: string; resultsInnerLabel: { isLoading: boolean; error: undefined; data: { users: number; }[]; }; innerLabelMeasure: Measure; showValueLabels: boolean; hideMenu: boolean; }; readonly config: { readonly props: (inputs: Inputs) => { results: DataResponse; resultsInnerLabel: DataResponse; title: string; description: string; tooltip: string; dataset: import("@embeddable.com/core").Dataset; maxLegendItems: number; dimension: import("@embeddable.com/core").Dimension; showLegend: boolean; showTooltips: boolean; showValueLabels: boolean; menuOptions: unknown[]; measure: Measure; innerLabelMeasure: Measure; innerLabelText: string; onSegmentClick: () => void; }; readonly events: { onSegmentClick: (value: PieChartClickArg) => { dimensionValue: string | { operation: "NO_FILTER" | "VALUE"; value?: unknown; __embeddableVariableMeta: true; }; dimensionTimeRange: import("@embeddable.com/core").TimeRangeDeserializedValue | { operation: "NO_FILTER" | "VALUE"; value?: unknown; __embeddableVariableMeta: true; }; }; }; }; readonly results: { readonly loadDataArgs: (inputs: Inputs) => LoadDataRequest; readonly loadData: (inputs: Inputs) => DataResponse; }; readonly resultsInnerLabel: { readonly loadDataArgs: (inputs: Inputs) => LoadDataRequest; readonly loadData: (inputs: Inputs) => DataResponse; }; }; export {}; //# sourceMappingURL=definition.d.ts.map