import React from 'react'; import type { LAYOUT_TYPE } from '@splunk/visualization-schemas'; import type { DashboardVizProps } from '../../common/interfaces/DashboardVizProps'; export interface SingleValueProps { appearance?: DashboardVizProps['appearance']; width?: number | string; height?: number | string; style?: React.CSSProperties; sparklineValues?: Array; majorValue?: string | number; majorValueDisplay?: string | number; majorColor?: string; majorFontSize?: number; majorValueField?: string; trendValue?: string | number; trendColor?: string; trendFontSize?: number; trendDisplay?: 'absolute' | 'percent' | 'off'; shouldAbbreviateTrendValue?: boolean; shouldAbbreviateMajorValue?: boolean; backgroundColor?: string; unit?: string; unitPosition?: 'before' | 'after'; underLabel?: string; underLabelColor?: string; underLabelFontSize?: number; numberPrecision?: number; shouldUseThousandSeparators?: boolean; showSparklineTooltip?: boolean; showSparklineAreaGraph?: boolean; sparklineDisplay?: 'below' | 'before' | 'after' | 'off'; sparklineAreaColor?: string; sparklineStrokeColor?: string; shouldSparklineAcceptNullData?: boolean; sparklineNullValueDisplay?: 'gaps' | 'zero' | 'connect'; sparklineHighlightSegments?: number; sparklineHighlightDots?: number; hasEventHandlers?: boolean; onValueClick?: (event: { payload?: Record; }) => void; defaultFontColor?: string; defaultBackgroundColor?: string; defaultBlockFontColor?: string; sparklineSeverityColors?: Record; defaultThemeColors?: Record; splitByLayout?: LAYOUT_TYPE; trellisKey?: string; trellisSplitBy?: string; align?: string; } export declare const CONTENT_OVERFLOW_FADEOUT_AREA_PX = 16; export declare const DEFAULT_CONTENT_HEIGHT_ALLOCATION_RATIO = 0.8; declare const SingleValue: (props: SingleValueProps) => React.ReactElement; export default SingleValue; //# sourceMappingURL=SingleValue.d.ts.map