/** * useTerminalManagement Hook * * Manages terminal size tracking, resize handling, and screen clearing. * Extracted from App.tsx for better separation of concerns. */ declare const MIN_TERMINAL_WIDTH = 140; declare const MIN_TERMINAL_HEIGHT = 40; declare const UI_CHROME_LINES = 12; export interface TerminalSize { width: number; height: number; } export interface UseTerminalManagementResult { /** Current terminal dimensions */ terminalSize: TerminalSize; /** Key that changes on resize to force React re-render */ resizeKey: number; /** Whether terminal is below minimum required size */ isTooSmall: boolean; /** Available height for content (terminal height minus UI chrome) */ contentHeight: number; /** Clear the terminal screen */ clearScreen: () => void; } /** * Hook for managing terminal size and screen clearing */ export declare function useTerminalManagement(): UseTerminalManagementResult; export { MIN_TERMINAL_HEIGHT, MIN_TERMINAL_WIDTH, UI_CHROME_LINES }; //# sourceMappingURL=useTerminalManagement.d.ts.map