/** * Determine the tick count or interval function. * * @param {import("../encoder/encoder.js").VegaScale} scale - The scale for which to generate tick values. * @param {number | {step: number, interval: number}} count - The desired tick count or interval specifier. * @param {number} minStep - The desired minimum step between tick values. * @return {*} - The tick count or interval function. */ export function tickCount(scale: import("../encoder/encoder.js").VegaScale, count: number | { step: number; interval: number; }, minStep: number): any; /** * Filter a set of candidate tick values, ensuring that only tick values * that lie within the scale range are included. * @param {import("../encoder/encoder.js").VegaScale} scale - The scale for which to generate tick values. * @param {Array<*>} ticks - The candidate tick values. * @param {*} count - The tick count or interval function. * @return {Array<*>} - The filtered tick values. */ export function validTicks(scale: import("../encoder/encoder.js").VegaScale, ticks: Array, count: any): Array; /** * Generate tick values for the given scale and approximate tick count or * interval value. If the scale has a 'ticks' method, it will be used to * generate the ticks, with the count argument passed as a parameter. If the * scale lacks a 'ticks' method, the full scale domain will be returned. * @param {import("../encoder/encoder.js").VegaScale} scale - The scale for which to generate tick values. * @param {*} [count] - The approximate number of desired ticks. * @return {any[]} - The generated tick values. */ export function tickValues(scale: import("../encoder/encoder.js").VegaScale, count?: any): any[]; /** * Generate a label format function for a scale. If the scale has a * 'tickFormat' method, it will be used to generate the formatter, with the * count and specifier arguments passed as parameters. If the scale lacks a * 'tickFormat' method, the returned formatter performs simple string coercion. * If the input scale is a logarithmic scale and the format specifier does not * indicate a desired decimal precision, a special variable precision formatter * that automatically trims trailing zeroes will be generated. * @param {import("../encoder/encoder.js").VegaScale} scale - The scale for which to generate the label formatter. * @param {*} [count] - The approximate number of desired ticks. * @param {string} [specifier] - The format specifier. Must be a legal d3 * specifier string (see https://github.com/d3/d3-format#formatSpecifier). * @return {function(*):string} - The generated label formatter. */ export function tickFormat(scale: import("../encoder/encoder.js").VegaScale, count?: any, specifier?: string): (arg0: any) => string; //# sourceMappingURL=ticks.d.ts.map