UNPKG

892 BTypeScriptView Raw
1import { Chrono, Parser, Refiner } from "../../chrono.js";
2import { ParsingResult, ParsingComponents, ReferenceWithTimezone } from "../../results.js";
3import { Component, ParsedResult, ParsingOption, ParsingReference, Meridiem, Weekday } from "../../types.js";
4import ENDefaultConfiguration from "./configuration.js";
5export { Chrono, Parser, Refiner, ParsingResult, ParsingComponents, ReferenceWithTimezone };
6export { Component, ParsedResult, ParsingOption, ParsingReference, Meridiem, Weekday };
7export declare const configuration: ENDefaultConfiguration;
8export declare const casual: Chrono;
9export declare const strict: Chrono;
10export declare const GB: Chrono;
11export declare function parse(text: string, ref?: ParsingReference | Date, option?: ParsingOption): ParsedResult[];
12export declare function parseDate(text: string, ref?: ParsingReference | Date, option?: ParsingOption): Date;