import { ScaleBand, ScaleLinear, ScaleLogarithmic, ScaleTime, type ScaleSymLog } from 'd3-scale'; /** * Checks whether a scale is logarithmic. * * The logarithmic scales have a unique prop called 'base', so checking it we can detect the type. * * @param scale - */ export declare function isLogScale(scale: ScaleLogarithmic | ScaleSymLog | ScaleLinear | ScaleTime): scale is ScaleLogarithmic; /** * Checks whether a scale is symlog. * * The symlog scales have a unique prop called 'constant', so checking it we can detect the type. * * @param scale - */ export declare function isSymlogScale(scale: ScaleLogarithmic | ScaleSymLog | ScaleLinear | ScaleTime): scale is ScaleSymLog; /** * Checks whether a scale is band. * * The band scales have a unique prop called 'paddingInner', so checking it we can detect the type. * * @param scale - */ export declare function isBandScale(scale: ScaleLogarithmic | ScaleSymLog | ScaleLinear | ScaleTime | ScaleBand): scale is ScaleBand;