import { AbstractFormatter } from '../Formatter'; import { DataType, TypedValue } from '../DataPrimitive'; import { DataPoint } from '../DataPoint'; /** * Formatter that returns the DataType for each element within the given DataSeries. * * ```js * primary | seriesByIndex(0) | type()' // returns ['number', 'number', 'number'] * option2: '> primary | seriesByIndex(1) | type()' // returns ['string', 'string', 'string'] * }} * dataSources={{ * data: { * primary: { * columns: [[100, 200, 300], ['string1', 'string2', 'string3']] * fields: [{ name: 'foo' }, { name: 'bar' }] * } * } * }} * /> * ``` */ export declare class Type extends AbstractFormatter { protected formatTypedValue(p: DataPoint<'number' | 'string'>): TypedValue; }