type Locale = "tr" | "en"; export declare function formatDate(date: Date | string | number | null | undefined, locale?: Locale): string; export declare function formatDateTime(date: Date | string | number | null | undefined, locale?: Locale): string; /** * Like {@link formatDateTime} but includes seconds — for screens where the exact * second matters (e.g. outage start/end on the modem detail screen, FIX-414). */ export declare function formatDateTimeWithSeconds(date: Date | string | number | null | undefined, locale?: Locale): string; export declare function formatNumber(num: number | null | undefined, locale?: Locale): string; export declare function formatDecimal(num: number, decimals?: number, locale?: Locale): string; export declare function formatSlug(flag: string, serial: string): string; export declare function formatRelativeTime(date: Date | string | number | null | undefined, locale?: Locale): string; export declare function formatPercentage(value: number | undefined | null, decimals?: number): string; /** * Format a duration given in seconds as a human-readable string. * * - < 60 s → "{N} sn" (1 decimal place if non-integer) * - < 3600 s → "{M} dk {S} sn" (S omitted when zero) * - >= 3600 s → "{H} sa {M} dk" (M omitted when zero) * * Negative or non-finite inputs return "--". */ export declare function formatDuration(seconds: number | null | undefined, locale?: Locale): string; export {}; //# sourceMappingURL=formatters.d.ts.map