import { UmbLitElement } from '../lit-element/index.js'; /** * This element allows you to localize a relative time * @element umb-localize-relative-time * @slot - The fallback value if the key is not found. */ export declare class UmbLocalizeRelativeTimeElement extends UmbLitElement { /** * The date to localize. * @attr * @example time=10 */ time: number; /** * Formatting options * @attr * @example options={ dateStyle: 'full', timeStyle: 'long', timeZone: 'Australia/Sydney' } */ options?: Intl.RelativeTimeFormatOptions; /** * Unit * @attr * @example unit='seconds' */ unit: Intl.RelativeTimeFormatUnit; protected get text(): string | null; render(): import("lit-html").TemplateResult<1> | import("lit-html/directive.js").DirectiveResult; static styles: import("lit").CSSResult[]; } declare global { interface HTMLElementTagNameMap { 'umb-localize-relative-time': UmbLocalizeRelativeTimeElement; } }