import { Emitter } from 'mitt';
import { MittEvents } from './types';

export declare const emitter: Emitter<MittEvents>;
/**
 * emitter.on hooks的调用方法
 */
export declare const useSubscribe: typeof emitter.on;
/**
 * emitter.emit hooks的调用方法
 */
export declare const usePublish: () => typeof emitter.emit;
