UNPKG

tell-me-when

Version:
17 lines 702 B
import { GrammarNode } from './util/GrammarNode'; import type { SupportedLocale } from './locales'; import { DateFn } from './util/DateFn'; export { applyDateFns } from './util/applyDateFns'; export type { DateFn } from './util/DateFn'; export type { SupportedLocale } from './locales'; export { ParseError } from './util/ParseError'; export declare function tellMeWhen(when: string, { locales, grammar, ...options }?: { now?: Date; grammar?: GrammarNode; locales?: SupportedLocale[]; }): Date | [Date, Date]; export declare function parse(input: string, { locales, grammar, }?: { grammar?: GrammarNode; locales?: SupportedLocale[]; }): DateFn[]; //# sourceMappingURL=index.d.ts.map