import { ScaleValue, AnyScale, TicksSpec } from '@dfnivo/scales'; import { ValueFormatter, Line } from './types'; export declare function computeDefaultTickAmounts({ length, axis, scale, }: { scale: AnyScale; length: number; axis: 'x' | 'y'; }): number; export declare const computeCartesianTicks: ({ axis, scale, ticksPosition, tickValues, tickSize, tickPadding, tickRotation, engine, length, }: { axis: 'x' | 'y'; scale: AnyScale; ticksPosition?: "before" | "after" | undefined; tickValues?: TicksSpec | undefined; length: number; tickSize: number; tickPadding: number; tickRotation: number; engine?: "svg" | "canvas" | undefined; }) => { ticks: { textX: number; textY: number; lineX: number; lineY: number; x: number; y: number; key: string | number; value: any; }[]; textAlign: CanvasTextAlign; textBaseline: CanvasTextBaseline; }; export declare const getFormatter: (format: string | ValueFormatter | undefined, scale: AnyScale) => ValueFormatter | undefined; export declare const computeGridLines: ({ width, height, scale, axis, values: _values, }: { width: number; height: number; scale: AnyScale; axis: 'x' | 'y'; values?: TicksSpec | undefined; }) => Line[]; //# sourceMappingURL=compute.d.ts.map