import React from 'react'; import { StyleType } from './types'; interface RelativeTimeAttributes { 'aria-label': string; } declare global { namespace JSX { interface IntrinsicElements { 'relative-time': React.DetailedHTMLProps; } } } export interface RelativeTimeProps { eventTime: string | number; ssrTime?: string | number; localeIso?: string; formatStyle?: StyleType; fallbackText?: string; isSSR?: boolean; } export declare function RelativeTime(props: RelativeTimeProps): JSX.Element; export {};