import { ComputedRef } from 'vue'; /** * Runs the notice auto-close timer and reports progress updates via rAF. * Returns controls to pause and resume the timer. Mirrors rc-notification@2.0 * useNoticeTimer. */ export default function useNoticeTimer(duration: ComputedRef, onClose: () => void, onUpdate: (percent: number) => void): [() => void, () => void];