import type { TimeAST } from './types'; /** * Parses a time string for inspection or form population. * * Example parse for a relative time string: * ``` * { * string: '-3d@qtr+2hr', * type: ['relative'], // 'relative', 'realTime', 'iso', or 'epoch' * isFullyParsed: true, * modifiers: [ * { * string: '-3d@qtr', * isParsed: true, * unit: 'd', * amount: -3, * snap: 'q', * }, * { * string: '+2hr', * isParsed: true, * unit: 'h', * amount: +2, * snap: false, * }, * ], * } * ``` * Example parse for a epoch time: * ``` * { * string: '89451357', * type: ['epoch'], * isFullyParsed: true, * modifiers: [], * } * * @public * @param {String} time - The time string such as `47165491` or `-2h@m`. * @returns {Object} */ export declare const parseTimeString: (timeString: string) => TimeAST | false; //# sourceMappingURL=parseTimeString.d.ts.map