import { type ReactNode } from 'react'; import type { TrendDirection } from '../../core/components/single-value-renderer/components/trend/types/trend-direction.js'; import type { Timeseries } from '../../core/types/timeseries.js'; import type { SingleValueGridAccessorsConfig } from '../types/single-value-grid.js'; type TrendData = { direction?: TrendDirection; value?: number; label?: string; }; type SingleValueData = { label?: string; prefixIcon?: ReactNode; sparklineData?: Timeseries | Timeseries[]; value?: number | string; trendData?: TrendData; }; /** * Retrieves data from the provided object using accessors specified in the accessors' configuration. * * @param data - The object containing the data. * @param accessors - The configuration specifying the accessors. * @returns The accessed data object. */ export declare function getDataFromAccessors(data: Record, accessors: SingleValueGridAccessorsConfig): SingleValueData; export {};