import type { Ref, SVGAttributes } from 'react'; import type { UseLinearPrimaryTicksResult } from 'react-d3-utils'; import type { SVGStyledLineUserConfig } from 'react-science/ui'; type AxisPosition = 'top' | 'bottom' | 'left' | 'right'; interface BaseD3AxisProps { tickLength?: number; axisPosition: AxisPosition; } type PrimaryGridElementProps = SVGStyledLineUserConfig; type SecondaryGridElementProps = PrimaryGridElementProps & { secondaryGridDensity?: number; }; interface D3AxisProps extends BaseD3AxisProps, Pick, 'transform' | 'children' | 'className'>, UseLinearPrimaryTicksResult { gridSize: number; primaryGridProps?: PrimaryGridElementProps; secondaryGridProps?: SecondaryGridElementProps; showGrid?: boolean; showPrimaryGrid?: boolean; showSecondaryGrid?: boolean; ref?: Ref; } export declare function D3Axis(props: D3AxisProps): import("react").JSX.Element; export {}; //# sourceMappingURL=D3Axis.d.ts.map