/** * Hook for PTY session management * * Uses useAvocadoBackend() instead of window.desktopAPI. */ import type { PtySession, CreateSessionOptions } from '#types'; export type SessionSourceFilter = 'local' | 'ipc' | 'remote' | 'all'; export interface UsePTYSessionsResult { sessions: PtySession[]; selectedSessionId: string | null; selectedSession: PtySession | undefined; filteredSessions: PtySession[]; sourceFilter: SessionSourceFilter; setSourceFilter: (filter: SessionSourceFilter) => void; selectSession: (sessionId: string | null) => void; createSession: (options: CreateSessionOptions) => Promise; destroySession: (sessionId: string) => Promise; resizeSession: (sessionId: string, cols: number, rows: number) => Promise; refresh: () => Promise; } export declare function usePTYSessions(): UsePTYSessionsResult; //# sourceMappingURL=usePTYSessions.d.ts.map