import type { V2Format } from './format.util'; /** Whether a wire `component` belongs to the V2 family. */ export declare const isV2Type: (component: unknown) => component is `v2.${string}`; /** Apollo rule: a legend only makes sense with two series or more. */ export declare const MIN_LEGEND_SERIES = 2; /** * Reads an own property of a row. Columns named `__proto__` or `constructor` * must not reach the prototype chain; a row that is not an object has no fields. */ export declare const readOwn: (row: unknown, field: string) => unknown; /** A finite number from a number or a non-empty numeric string; otherwise `null`. */ export declare const toNumber: (value: unknown) => number | null; /** Formats a numeric series can take until the wire carries one per series. */ export type NumericFormat = Extract; /** * Provisional until the wire carries a format: a series with only integers * (or nothing) is `number`; otherwise `decimal`, the same decimals in the * whole column. */ export declare const seriesFormat: (values: readonly (number | null)[]) => NumericFormat;