import * as t from "io-ts"; /** * Accepts short formats (ie. "2018-10-13") * with or without time and timezone parts. */ export declare const DateFromString: t.Type; export type DateFromString = t.TypeOf; export declare const patternDateFromString: (pattern: string, tagName: string) => t.Type; /** * Accepts only full ISO8601 format with UTC (Z) timezone * * ie. "2018-10-13T00:00:00.000Z" */ export declare const UtcOnlyIsoDateFromString: t.Type; export type UtcOnlyIsoDateFromString = t.TypeOf; /** * Accepts only full ISO8601 format with +/-00:00 timezone * * ie. "2018-10-13T00:00:00.000+00:00" */ export declare const TimezoneOnlyIsoDateFromString: t.Type; export type TimezoneOnlyIsoDateFromString = t.TypeOf; export declare const IsoDateFromString: t.UnionC<[t.Type, t.Type]>; export type IsoDateFromString = t.TypeOf; /** * @deprecated use IsoDateFromString instead. */ export declare const UTCISODateFromString: t.UnionC<[t.Type, t.Type]>; /** * @deprecated use IsoDateFromString instead. */ export type UTCISODateFromString = t.TypeOf; /** * Accepts only a valid timestamp format (number) * * ie. 1577836800000 */ export declare const DateFromTimestamp: t.Type; export type DateFromTimestamp = t.TypeOf;