type TimeDataVo = { days: number hours: number minutes: number seconds: number milliseconds: number } export interface ICountDownEmits { /** 过程中,倒计时变化时触发 */ change: [time: TimeDataVo] /** 倒计时结束触发 */ finish: [] } /** HyCountDown 组件实例暴露的方法 */ export interface ICountDownExpose { /** * 重置倒计时 */ reset: () => void /** * 开始倒计时 */ start: () => void /** * 暂停倒计时 */ pause: () => void }