/** * Hook for terminal management * * Uses useAvocadoBackend() instead of window.desktopAPI. * Note: The cross-device store integration (useCrossDeviceStore) is not included * since it was Electron-specific. Mode syncing must be handled by the consumer. */ import type { TerminalInfo, TerminalType, CreateTerminalOptions, PtySession } from '#types'; export interface UseTerminalsResult { terminals: TerminalInfo[]; getTerminalsForSession: (sessionId: string) => TerminalInfo[]; createTerminal: (sessionId: string, type: TerminalType, options: CreateTerminalOptions, session?: PtySession) => Promise; destroyTerminal: (terminalId: string) => Promise; resizeTerminal: (terminalId: string, cols: number, rows: number) => Promise; setActive: (terminalId: string) => Promise; updateTerminalState: (terminalId: string, updates: Partial) => void; refresh: () => Promise; focusedTerminalId: string | null; handleTerminalFocus: (terminal: TerminalInfo) => void; handleTerminalBlur: (terminal: TerminalInfo) => void; } export declare function useTerminals(): UseTerminalsResult; //# sourceMappingURL=useTerminals.d.ts.map