/** * 获取指定时间的Unix时间戳 * @description 将各种格式的日期字符串转换为Unix时间戳(毫秒数) * @param {string} time - 时间字符串,支持格式: * - 20160126 12:00:00 * - 2016-01-26 12:00:00 * - 2016.01.26 12:00:00 * - 20160126 * - 2016-01-26 12:00:00.0 * @returns {number} Unix时间戳(毫秒数) * @throws {TypeError} 当输入参数不是字符串时抛出 * @throws {Error} 当日期格式无效时抛出 * @example * formatDateToTimeStamp('20160126 12:00:00'); * // => 1453780800000 */ export declare function formatDateToTimeStamp(time: string): number;