import type { BlokkliChartData } from '../types.js'; import type { ColorOption } from '#blokkli/types/colors'; export declare const SUPERSCRIPTS: Record; /** * Replace `{1}`, `{2}`, etc. with Unicode superscript characters. */ export declare function applyFootnotes(text: string): string; /** * Get the fallback color ID (first defined color). */ export declare function getFirstColorId(options: ColorOption[]): string; /** * Get a color ID for the given index, cycling through available colors. * Always returns the canonical form (`.` for ramps). */ export declare function getColorIdAtIndex(index: number, options: ColorOption[]): string; export declare function getDefaultChartData(options: ColorOption[]): BlokkliChartData; /** * Whether all (non-empty) category labels look like numbers — e.g. years * (2012, 2013, …) or plain numeric values. Used to decide whether categories * should be exposed for translation. Empty arrays return `false`. */ export declare function categoriesAreNumeric(categories: string[]): boolean; /** * Whether all (non-empty) category labels match a known date source format * (MM/YYYY, YYYY-MM, YYYY-MM-DD, DD.MM.YYYY). Used to decide whether to apply * date formatting and to gate categories from being translatable. */ export declare function categoriesAreDates(categories: string[]): boolean; export declare function parseNumericInput(raw: string): number;