import * as _angular_core from '@angular/core';
interface WrDonutSegment {
readonly label: string;
readonly value: number;
readonly color?: string;
}
/**
* Donut chart. Set `thickness` to 0 for a solid pie. Optional center
* text via inputs.
*
* @example
* ```html
*
* ```
*
* @see https://ngwr.dev/components/donut-chart
*/
declare class WrDonutChart {
readonly segments: _angular_core.InputSignal;
/** Diameter in CSS pixels. @default 200 */
readonly size: _angular_core.InputSignalWithTransform;
/** Inner-ring thickness as a percent of radius (0–100). `0` = solid pie. @default 30 */
readonly thickness: _angular_core.InputSignalWithTransform;
/** Show the legend under the chart. @default true */
readonly showLegend: _angular_core.InputSignalWithTransform;
/** Bold value text in the center. */
readonly centerValue: _angular_core.InputSignal;
/** Smaller label under the value. */
readonly centerLabel: _angular_core.InputSignal;
private readonly outerR;
protected readonly innerR: _angular_core.Signal;
protected readonly total: _angular_core.Signal;
/** Resolved slices ready for the template — each carries its arc path. */
protected readonly slices: _angular_core.Signal<{
label: string;
value: number;
color: string;
path: string;
percent: number;
}[]>;
/** SVG path for one donut slice using outer and inner arcs. */
private arcPath;
static ɵfac: _angular_core.ɵɵFactoryDeclaration;
static ɵcmp: _angular_core.ɵɵComponentDeclaration;
}
export { WrDonutChart };
export type { WrDonutSegment };