1 | import { OpUnitType } from "dayjs";
|
2 | import { TimeUnits } from "../../utils/timeunits";
|
3 | export declare const WEEKDAY_DICTIONARY: {
|
4 | [word: string]: number;
|
5 | };
|
6 | export declare const MONTH_DICTIONARY: {
|
7 | [word: string]: number;
|
8 | };
|
9 | export declare const INTEGER_WORD_DICTIONARY: {
|
10 | [word: string]: number;
|
11 | };
|
12 | export declare const TIME_UNIT_DICTIONARY: {
|
13 | [word: string]: OpUnitType;
|
14 | };
|
15 | export declare const NUMBER_PATTERN: string;
|
16 | export declare function parseNumberPattern(match: string): number;
|
17 | export declare const YEAR_PATTERN = "(?:[0-9]{1,4}(?:\\s*[vn]\\.?\\s*C(?:hr)?\\.?)?)";
|
18 | export declare function parseYear(match: string): number;
|
19 | export declare const TIME_UNITS_PATTERN: string;
|
20 | export declare function parseTimeUnits(timeunitText: any): TimeUnits;
|