import type { TimeScaleOptions } from "chart.js";
import { Alias, DeepPartial, Format, Locale } from "../types";
type LuxonFormat = string & Alias;
/**
 * Regex to test if a format string is a date format that can be translated into a luxon time format
 */
export declare const timeFormatLuxonCompatible: RegExp;
/** Get the time options for the XAxis of ChartJS */
export declare function getChartTimeOptions(labels: string[], labelFormat: Format, locale: Locale): DeepPartial<TimeScaleOptions["time"]>;
/**
 * Convert the given date format into a format that moment.js understands.
 *
 * https://github.com/moment/luxon/blob/master/docs/formatting.md#table-of-tokens
 */
export declare function convertDateFormatForLuxon(format: Format): LuxonFormat;
export {};
