import { StyledColumn } from '../../../../chart-data-options/types';
import { Axis, AxisSettings } from '../../../translations/axis-section.js';
/**
 * Maps date granularity levels to their corresponding intervals in milliseconds
 *
 * @param granularity - The date granularity level
 * @returns Interval in milliseconds for the given granularity
 */
export declare const getInterval: (granularity: string) => number;
/**
 * Creates a date formatter function for chart axis labels
 *
 * @param category - The styled column containing date formatting information
 * @param dateFormatter - Optional external date formatter function
 * @returns A function that formats timestamps as strings
 */
export declare const getDateFormatter: (category: StyledColumn, dateFormatter?: ((date: Date, format: string) => string) | undefined) => (time: number) => string;
/**
 * Builds X-axis settings for datetime axes with continuous data
 *
 * @param axis - Primary axis configuration
 * @param category - The styled column for date formatting
 * @param values - Array of numeric timestamp values
 * @param dateFormatter - Optional date formatter function
 * @returns Array of axis settings for datetime X-axis
 */
export declare const getXAxisDatetimeSettings: (axis: Axis, category: StyledColumn, values: number[], dateFormatter?: ((date: Date, format: string) => string) | undefined) => AxisSettings[];
