import type { PivotTableDataOptions } from '../../../../../../domains/visualizations/core/chart-data-options/types.js';
import { DateFormatter } from '../../../../../../shared/formatters/create-date-formatter.js';
import type { HeaderCellFormatter } from '../types.js';
export declare const createHeaderCellValueFormatter: (dataOptions: PivotTableDataOptions, dateFormatter: DateFormatter) => HeaderCellFormatter;
/**
 * Formats the date time string or Date object.
 * If the date is invalid, it returns the original value.
 */
export declare function formatDatetimeString(value: string | Date, dateFormatter: DateFormatter, dateFormat?: string): string;
