/**
 * MouseContext
 *
 * Provides mouse event handling by reading stdin directly.
 * Runs in parallel with KeypressProvider - each reads stdin independently.
 */
import type React from 'react';
import { type MouseEvent, type MouseEventName, type MouseHandler } from '../utils/mouse.js';
export type { MouseEvent, MouseEventName, MouseHandler };
interface MouseContextValue {
    subscribe: (handler: MouseHandler) => void;
    unsubscribe: (handler: MouseHandler) => void;
}
export declare function useMouseContext(): MouseContextValue;
/**
 * Hook to subscribe to mouse events
 */
export declare function useMouse(handler: MouseHandler, { isActive }?: {
    isActive?: boolean | undefined;
}): void;
export interface MouseProviderProps {
    children: React.ReactNode;
    /** Whether mouse events are enabled (sends terminal escape codes) */
    mouseEventsEnabled?: boolean;
}
export declare function MouseProvider({ children, mouseEventsEnabled }: MouseProviderProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=MouseContext.d.ts.map