declare const Iso8601Brand: unique symbol; declare const Iso8601DurationBrand: unique symbol; export type Iso8601 = string & { readonly [Iso8601Brand]: true; }; export type Iso8601Duration = string & { readonly [Iso8601DurationBrand]: true; }; export declare function nowIso(): Iso8601; export declare function toIso(d: Date): Iso8601; export declare function fromIso(s: string): Date; export declare function isIso8601(s: string): s is Iso8601; export interface Duration { readonly years: number; readonly months: number; readonly weeks: number; readonly days: number; readonly hours: number; readonly minutes: number; readonly seconds: number; } export declare function parseDuration(s: string): Duration; export declare function addDuration(at: Iso8601 | Date | string, d: string | Duration): Iso8601; export declare function durationToMs(d: Duration): number; export {}; //# sourceMappingURL=time.d.ts.map