UNPKG

433 BTypeScriptView Raw
1import { DateParsingConfig } from '../create/parsing.types';
2import { DateParseTokenFn } from '../types';
3export declare function addParseToken(token: string | string[], callback: DateParseTokenFn | number): void;
4export declare function addWeekParseToken(token: string[], callback: DateParseTokenFn): void;
5export declare function addTimeToArrayFromToken(token: string, input: string, config: DateParsingConfig): DateParsingConfig;