/** * 进度控制器 * * @param {Number || Array} from 设置进度起始位置 * @param {Number || Array} to 设置进度结束位置 * @param {Number || Array} increment 每次更新的递增量 * @param {Number || Array} rate 更新频率,即多久更新一次,单位ms * @return {Function} ProgressController */ declare class ProgressController { private config; private data; private timer; private $onEvent; constructor(argument: any); private init; private progress; add(option: any, callback?: (...options: any) => void): void; go(option: any, callback?: (...options: any) => void): void; start(option: any): void; complete(callback?: (...options: any) => void): void; stop(callback?: (...options: any) => void): void; reset(callback?: (...options: any) => void): void; destroy(callback?: (...options: any) => void): void; private randomOption; private randomNumber; $on(type: string, fun: (...options: any) => void): void; } export default ProgressController;