import { EnumLiteralsOf } from './SimpleTypes'; /** * Specifies which variant a configurable date is */ export declare type ConfigurableDateType = EnumLiteralsOf; export declare const ConfigurableDateType: Readonly<{ readonly RELATIVE: "RELATIVE"; readonly STATIC: "STATIC"; }>; /** * Can be one of any of the date variants specified by the type property * * The value for any ConfigurableDate must be a primitive value such as a string or number */ export declare type ConfigurableDate = { type: T; value: V; }; /** * A date for which the value is relative to the current date using a day as the smallest unit of time * * A relative date uses the following format: [quantifier] [duration] [direction] * quantifier - a multiplier for the duration (e.g., 1, 2, 3, etc.) * duration - an a mount of time (e.g., day, week, month, year, etc.) * direction - determines if the date is after, before, or on today (e.g., after today, before today, today) * * If today is selected as a direction and quantifier fields should have the value '-' */ export declare type RelativeConfigurableDate = ConfigurableDate; /** * A date for which the value must be an ISO 8601 date and time string */ export declare type StaticConfigurableDate = ConfigurableDate; /** * Specifies an a mount of time for a configurable relative date */ export declare type RelativeDateDuration = EnumLiteralsOf; export declare const RelativeDateDuration: Readonly<{ readonly DISABLED: "N/A"; readonly DAY: "day"; readonly DAYS: "days"; readonly WEEK: "week"; readonly WEEKS: "weeks"; readonly MONTH: "month"; readonly MONTHS: "months"; readonly YEAR: "year"; readonly YEARS: "years"; }>; /** * Specifies the direction of time for a configurable relative date */ export declare type RelativeDateDirection = EnumLiteralsOf; export declare const RelativeDateDirection: Readonly<{ readonly AFTER_TODAY: "after today"; readonly BEFORE_TODAY: "before today"; readonly TODAY: "today"; }>;