import type { DateTime, DateTimeOptionsWhenParsing } from '../typings'; export declare function isLikeRelative(text: unknown): text is string; /** * Parses a number, text or `Date` to a `DateTime` value. If a timeZone is supplied the incoming value * is parsed with that timeZone as a base. * * It can also parse the relative date and time format, e.g. `'now-6h'` will be parsed as `Date.now() - 6 hours` and * returned as a valid `DateTime` value. */ export declare function dateTimeParse(input: unknown, options?: DateTimeOptionsWhenParsing): DateTime | undefined; /** * Checks if value is a valid date which in this context means that it is either * a `DateTime` instance or it can be parsed by parse function. */ export declare function isValid(value?: string | DateTime): boolean;