/*! * chartjs-plugin-piechart-outlabels-aars v1.0.7 * https://github.com/aaronicsubstances/chartjs-plugin-piechart-outlabels * (c) 2025 aaronicsubstances * @license MIT */ import { Scriptable, Chart, ChartDataset, ScriptableAndScriptableOptions, FontSpec, ScriptableChartContext, ChartType, Plugin } from 'chart.js'; type FontOptions = FontSpec & { resizable?: boolean; minSize?: number; maxSize?: number; }; type TRBL = { top: number; right: number; bottom: number; left: number; }; type OutLabelsContext = { chart: Chart<'doughnut' | 'pie'>; dataIndex: number; dataset: ChartDataset<'doughnut' | 'pie'>; labels: string[]; datasetIndex: number; percent: number; }; type OutLabelsOptions = { display?: Scriptable; text?: Scriptable; textAlign?: string; color?: string; borderRadius?: number; borderWidth?: number; lineWidth?: number; stickLength?: number; percentPrecision?: number; valuePrecision?: number; padding?: number | TRBL; font?: ScriptableAndScriptableOptions, ScriptableChartContext>; backgroundColor?: Scriptable; borderColor?: Scriptable; lineColor?: Scriptable; }; declare type OutLabelsPluginType = Plugin<'doughnut' | 'pie', OutLabelsOptions>; declare module 'chart.js' { interface PluginOptionsByType { outlabels?: OutLabelsOptions; } } declare const OutLabelsPlugin: OutLabelsPluginType; export { OutLabelsPlugin as default }; //# sourceMappingURL=index.d.ts.map