import { framer } from '@synnaxlabs/client'; import { DataType, math, Series } from '@synnaxlabs/x'; /** * Converts the given series to a supported data type for pluto WebGL rendered * components (such as lines). If the series is a uint8 or has a variable data type, it * is returned as is. If the series of any other type, it is converted to a float32 * series with the given offset applied. * @param offset - An optional offset to apply to the series. If the series uses bigint * storage (timestamp, int64, uint64) and no offset is provided, the first sample is * used as the default offset. This preserves precision when narrowing 64-bit integers * to float32, which would otherwise quantize values above 2^53 to multiples of the * float32 ULP at that magnitude. * @returns The converted series. */ export declare const convertSeriesToSupportedGL: (series: Series, offset?: math.Numeric) => Series; /** * Resolves the data type to a supported data type for pluto WebGL rendered components * (such as lines). If the data type is variable density or uint8, it is returned as is. * If the data type is any other type, float32 is returned. * @returns The resolved data type. */ export declare const resolveGLDataType: (dt: DataType) => DataType; /** Stores cached series in a WebGL-uploadable representation. */ export declare const GL_TRANSFORM: framer.Transform; //# sourceMappingURL=convertSeries.d.ts.map