import { LitElement } from 'lit'; /** * @element nve-format-datetime * @description Formats date and time as localized text in a semantic time element. Choose a preset or use Intl.DateTimeFormat options for individual parts. Use `numeric` for unpadded values or `2-digit` for zero-padding. * @documentation https://nvidia.github.io/elements/docs/elements/format-datetime/ * @since 1.69.0 * @entrypoint \@nvidia-elements/core/format-datetime * @slot - Date string to format (such as 2023-07-28T04:20:17.434Z). Serves as fallback before hydration. * @aria https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time */ export declare class FormatDatetime extends LitElement { #private; static styles: import("lit").CSSResult[]; static readonly metadata: { tag: string; version: string; }; /** * Optional date string for values supplied by JavaScript or bound data. * By default, the component formats the element's text content, which also serves as the SSR fallback. * When both are present, this property takes precedence. */ date?: string; /** * Language tag (such as en-US, de-DE). Defaults to document.documentElement.lang or browser default. */ locale?: string; /** * Weekday representation: 'long' | 'short' | 'narrow'. */ weekday?: 'long' | 'short' | 'narrow'; /** * Year representation: 'numeric' | '2-digit'. */ year?: 'numeric' | '2-digit'; /** * Month representation: 'numeric' | '2-digit' | 'long' | 'short' | 'narrow'. */ month?: 'numeric' | '2-digit' | 'long' | 'short' | 'narrow'; /** * Day representation: 'numeric' | '2-digit'. */ day?: 'numeric' | '2-digit'; /** * Hour representation: 'numeric' | '2-digit'. */ hour?: 'numeric' | '2-digit'; /** * Minute representation: 'numeric' | '2-digit'. */ minute?: 'numeric' | '2-digit'; /** * Second representation: 'numeric' | '2-digit'. */ second?: 'numeric' | '2-digit'; /** * Preset date formatting style: 'full' | 'long' | 'medium' | 'short'. * Preset styles take precedence over granular date and time part options. */ dateStyle?: 'full' | 'long' | 'medium' | 'short'; /** * Preset time formatting style: 'full' | 'long' | 'medium' | 'short'. * Preset styles take precedence over granular date and time part options. */ timeStyle?: 'full' | 'long' | 'medium' | 'short'; /** * Time zone name display: 'long' | 'short'. Use it with granular options only; preset styles ignore it. */ timeZoneName?: 'long' | 'short'; /** * IANA time zone identifier (such as 'America/New_York', 'UTC'). */ timeZone?: string; render(): import("lit-html").TemplateResult<1>; }