import { Temporal } from 'temporal-polyfill'; type DtDateTimeOptions = { /** If provided, the resulting instance is converted into this zone. */ timezone?: string; }; /** * Dynatrace JS-DateTime utility class. * Works with ISO 8601 / RFC 3339 date-time strings with/without timezones. * Timezone defaults to user's preferred timezone, or UTC if not available. * @internal */ export declare class DtDateTime { private dateTime; constructor(dateTimeString: string, options?: DtDateTimeOptions); /** * Normalize common RFC3339 variants: * - lowercase 't' → 'T' * - lowercase 'z' → 'Z' * - space between date/time or underscore for Grail support → 'T' * * We only normalize the first separator between date and time (YYYY-MM-DD HH:mm…) * to avoid mangling valid strings that contain spaces elsewhere (e.g. annotations). * See: https://ijmacd.github.io/rfc3339-iso8601/ and https://www.rfc-editor.org/rfc/rfc3339.html#section-5.6 */ private static normalizeRfc3339; addDuration(duration: Temporal.DurationLike): DtDateTime; addDays(days: number): DtDateTime; addWeeks(weeks: number): DtDateTime; toString(): string; private static fromZdt; } export {};