/** * Format a Sentry timestamp (in seconds) to ISO string. * Sentry timestamps are Unix timestamps in seconds, so we multiply by 1000 to convert to milliseconds. * Falls back to epoch (1970-01-01T00:00:00.000Z) if timestamp is missing/invalid. */ export declare function formatTimestamp(timestamp?: number): string; /** * Get the duration in milliseconds between two Sentry timestamps. * Accepts timestamps in seconds (as numbers or strings). * Returns undefined if either timestamp is missing or invalid. */ export declare function getDuration(endTimestamp?: number | string, startTimestamp?: number | string): number | undefined; /** * Map simple fields from source to data object. * Only sets fields if the source value is truthy. */ export declare function mapFields(source: any, data: Record, fieldMappings: Record): void; /** * Map SDK name and version fields */ export declare function mapSdkFields(source: any, data: Record): void; /** * Map tags directly to data object */ export declare function mapTags(source: any, data: Record): void;