import { Timestamp } from '../types'; import { default as jto, FormatOptions, FormatStyleName, Style } from 'javascript-time-ago'; export declare const TimeAgo: jto; export declare function formatRelativeTimestamp(timestamp: Timestamp, style?: FormatStyleName | Style, options?: FormatOptions): string; /** * Formats a given timestamp according to the provided DateTimeFormat options. * * The function ensures that all timestamps are displayed in the Berlin timezone * and adds a "Uhr" suffix if the format includes time components (hours, minutes, or seconds). * * @param {Intl.DateTimeFormatOptions} options - The Intl.DateTimeFormatOptions controlling formatting style. * @param {Timestamp} timestamp - The date to format, either as a Date object, unix timestamp or ISO string. * @returns A localized string representation of the timestamp with optional 'Uhr' suffix. */ export declare function formatTimestamp(options: Intl.DateTimeFormatOptions, timestamp: Timestamp): string; /** * Convenience function to format a timestamp with exact style (includes seconds). * * @param {Timestamp} timestamp - The date to format, either as a Date object, unix timestamp or ISO string. * @returns A localized string representation of the timestamp. */ export declare function formatTimestampExact(timestamp: Timestamp): string; /** * Convenience function to format a timestamp with idea style (day, full month, year, hour, minute). * * @param {Timestamp} timestamp - The date to format, either as a Date object, unix timestamp or ISO string. * @returns A localized string representation of the timestamp. */ export declare function formatTimestampIdea(timestamp: Timestamp): string; /** * Convenience function to format a timestamp with metadata style (numeric day/month, year, hour, minute). * * @param {Timestamp} timestamp - The date to format, either as a Date object, unix timestamp or ISO string. * @returns A localized string representation of the timestamp. */ export declare function formatTimestampMeta(timestamp: Timestamp): string;