import type { DataLabelsOptions } from '@sisense/sisense-charts'; import { TextStyle } from './types'; import { AxisOrientation } from './axis-section'; import { HighchartsDataPointContext } from './tooltip-utils'; import { PolarType } from './design-options'; import { NumberFormatConfig, SeriesLabels } from '../../types'; export type RotationType = 'horizontal' | 'diagonal' | 'vertical'; export type DataLabelsSettings = { enabled?: boolean; align?: string; inside?: boolean; crop?: boolean; rotation?: number; y?: number; x?: number; style?: TextStyle; overflow?: string; allowOverlap?: boolean; verticalAlign?: 'bottom' | 'middle' | 'top'; padding?: number; color?: 'contrast' | string; backgroundColor?: string; borderColor?: string; borderRadius?: number; borderWidth?: number; animation?: { defer?: boolean | number; }; types?: { count: boolean; relative: boolean; totals: boolean; }; formatter?: (this: HighchartsDataPointContext, options?: DataLabelsOptions, valuePropName?: string) => string; }; export declare const createDataLabelsFormatter: (numberFormatConfig?: NumberFormatConfig, options?: SeriesLabels) => (this: HighchartsDataPointContext) => string; export declare const getRotationType: (rotation: number) => RotationType; export declare const getDataLabelsSettings: (xAxisOrientation: AxisOrientation, seriesLabels?: SeriesLabels, inside?: boolean) => DataLabelsSettings; export declare const getPolarDataLabelsSettings: (seriesLabels: SeriesLabels | undefined, polarType: PolarType) => DataLabelsSettings; //# sourceMappingURL=value-label-section.d.ts.map