import { LitElement } from 'lit'; /** * @element nve-format-datetime * @description Formats a date/time value as localized text using the Intl.DateTimeFormat API. Renders inside a semantic time element. * Granular options (weekday, year, month, day, hour, minute, second) mirror the Intl.DateTimeFormat API. 'numeric' omits zero-padding, '2-digit' zero-pads. * @since 0.0.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. */ 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').TemplateResult<1>; }