import type { TimeFormatConfig } from '../types'; /** * 根据时间格式配置计算刷新间隔 * @param timeFormat 时间格式配置 * @returns 刷新间隔(毫秒) * * @description * - 显示秒时:1000ms (1秒刷新一次) * - 不显示秒时:60000ms (60秒刷新一次) * * @example * getRefreshInterval({ showSeconds: true }) * // => 1000 * * getRefreshInterval({ showSeconds: false }) * // => 60000 */ export declare function getRefreshInterval(timeFormat?: TimeFormatConfig): number;