import { BaseProperties, type RequireOptional } from 'ag-charts-core'; import type { AgChartLabelFormatterParams, AgChartLabelOptions, AgChartLabelStyleOptions, AgChartLabelStylerParams, ContextDefault, FontStyle, FontWeight, Padding, PaddingOptions, RichFormatter, Styler } from 'ag-charts-types'; import type { ContextFormatter } from '../module/axisContext'; export declare class LabelBorder { enabled: boolean; stroke?: string; strokeWidth?: number; strokeOpacity?: number; } export declare class LabelStyle extends BaseProperties implements AgChartLabelStyleOptions { border: LabelBorder; color?: string; cornerRadius?: number; fill?: string; fillOpacity?: number; fontStyle?: FontStyle; fontWeight?: FontWeight; fontSize: number; fontFamily: string; padding?: Padding; } export declare class Label extends LabelStyle implements AgChartLabelOptions> { enabled: boolean; formatter?: RichFormatter & RequireOptional>; format?: string; itemStyler?: Styler, AgChartLabelStyleOptions>; private _cachedFormatter; formatValue(formatWithContext: ContextFormatter & RequireOptional>, type: 'number' | 'date' | 'category', value: any, params: AgChartLabelFormatterParams & RequireOptional): string | import("ag-charts-core").NormalisedContentSegment[] | undefined; } type LabelBoxingMixin = { border?: { enabled?: boolean; stroke?: string; }; fill?: unknown; padding?: Padding; }; export declare function expandLabelPadding(label: LabelBoxingMixin | undefined): Required; export {};