/// import { ScaleInput } from '@vx/scale'; import { AllGridRowsProps } from './GridRows'; import { AllGridColumnsProps } from './GridColumns'; import { CommonGridProps, GridScale } from '../types'; declare type CommonPropsToOmit = 'scale' | 'offset' | 'numTicks' | 'lineStyle' | 'tickValues' | 'from' | 'to' | 'children'; export declare type GridProps = Omit & AllGridColumnsProps, CommonPropsToOmit> & { /** `@vx/scale` or `d3-scale` object used to map from ScaleInput to x-coordinates (GridColumns). */ xScale: XScale; /** `@vx/scale` or `d3-scale` object used to map from ScaleInput to y-coordinates (GridRows). */ yScale: YScale; /** Pixel offset to apply as an x-translation to each GridColumns line. */ xOffset?: CommonGridProps['offset']; /** Pixel offset to apply as an y-translation to each GridRows line. */ yOffset?: CommonGridProps['offset']; /** Approximate number of row gridlines. */ numTicksRows?: CommonGridProps['numTicks']; /** Approximate number of column gridlines. */ numTicksColumns?: CommonGridProps['numTicks']; /** Style object to apply to GridRows. */ rowLineStyle?: CommonGridProps['lineStyle']; /** Style object to apply to GridColumns. */ columnLineStyle?: CommonGridProps['lineStyle']; /** Exact values to be used for GridRows lines, passed to yScale. Use this if you need precise control over GridRows values. */ rowTickValues?: ScaleInput[]; /** Exact values to be used for GridColumns lines, passed to xScale. Use this if you need precise control over GridColumns values. */ columnTickValues?: ScaleInput[]; }; export default function Grid({ top, left, xScale, yScale, width, height, className, stroke, strokeWidth, strokeDasharray, numTicksRows, numTicksColumns, rowLineStyle, columnLineStyle, xOffset, yOffset, rowTickValues, columnTickValues, ...restProps }: GridProps): JSX.Element; export {}; //# sourceMappingURL=Grid.d.ts.map