import { GlideTime } from "./GlideTime"; /** * The scoped GlideDuration class provides methods for working with spans of time or durations. GlideDuration objects * store the duration as a date and time from January 1, 1970, 00:00:00. As a result, ... */ export declare class GlideDuration extends GlideTime { /** * Adds a given duration to the current duration */ add(value: GlideDuration): GlideDuration; constructor(); constructor(template: GlideDuration); constructor(asDisplayed: string); constructor(ms: number); /** * Gets the number of days */ getDayPart(): number; /** * Gets the display value of the duration in number of days, hours, and minutes */ getDisplayValue(): string; /** * Gets the duration value in d HH:mm:ss format */ getDurationValue(): string; /** * Gets the rounded number of days. If the time part is more than 12 hours, the return value is rounded up. * Otherwise, it is rounded down */ getRoundedDayPart(): number; isShowTimerAlert(): boolean; /** * Sets the display value */ setDisplayValue(asDisplayed: string): void; /** * Sets the internal value of the GlideDuration object. Internally, GlideDuration is stored as DateTime */ setValue(o: any): void; subtract(value: GlideDuration): GlideDuration; }