/**
 * 便捷的 Hook：获取当前应用实例的事件总线
 */
import type { AppEventBus } from './AppEventBus';
/**
 * 获取当前应用实例的事件总线
 *
 * @returns 事件总线实例
 *
 * @example
 * ```tsx
 * import { useEventBus } from '@vlian/framework';
 *
 * function MyComponent() {
 *   const eventBus = useEventBus();
 *
 *   useEffect(() => {
 *     const unsubscribe = eventBus.on('user:login', (data) => {
 *       console.log('用户登录:', data);
 *     });
 *     return unsubscribe;
 *   }, [eventBus]);
 *
 *   return <div>My Component</div>;
 * }
 * ```
 */
export declare function useEventBus(): AppEventBus;
//# sourceMappingURL=useEventBus.d.ts.map