import React from 'react'; import { AxisScale } from '@visx/axis'; import { GlyphsProps, SeriesProps } from '../../../types'; import { WithRegisteredDataProps } from '../../../enhancers/withRegisteredData'; export declare type BaseGlyphSeriesProps = SeriesProps & { /** Given a Datum, returns its color. Falls back to theme color if unspecified or if a null-ish value is returned. */ colorAccessor?: (d: Datum, index: number) => string | null | undefined; /** The size of a `Glyph`, a `number` or a function which takes a `Datum` and returns a `number`. */ size?: number | ((d: Datum) => number); /** Function which handles rendering glyphs. */ renderGlyphs: (glyphsProps: GlyphsProps) => React.ReactNode; }; export declare function BaseGlyphSeries({ colorAccessor, data, dataKey, onBlur, onFocus, onPointerMove, onPointerOut, onPointerUp, onPointerDown, enableEvents, renderGlyphs, size, xAccessor, xScale, yAccessor, yScale, }: BaseGlyphSeriesProps & WithRegisteredDataProps): JSX.Element; declare const _default: >, YScale extends import("@visx/scale").ValueOf>, Datum extends object>(props: SeriesProps & Pick>, import("@visx/scale").ValueOf>, object> & { /** Given a Datum, returns its color. Falls back to theme color if unspecified or if a null-ish value is returned. */ colorAccessor?: ((d: object, index: number) => string | null | undefined) | undefined; /** The size of a `Glyph`, a `number` or a function which takes a `Datum` and returns a `number`. */ size?: number | ((d: object) => number) | undefined; /** Function which handles rendering glyphs. */ renderGlyphs: (glyphsProps: GlyphsProps>, import("@visx/scale").ValueOf>, object>) => React.ReactNode; } & Pick>, import("@visx/scale").ValueOf>, object>, "xScale" | "yScale">, "size" | "colorAccessor" | "renderGlyphs">) => JSX.Element | null; export default _default; //# sourceMappingURL=BaseGlyphSeries.d.ts.map