Files
oh-my-opencode/dist/hooks/interactive-bash-session/state-manager.d.ts
T
2026-03-14 04:56:50 +00:00

5 lines
381 B
TypeScript

import type { InteractiveBashSessionState } from "./types";
export declare function getOrCreateState(sessionID: string, sessionStates: Map<string, InteractiveBashSessionState>): InteractiveBashSessionState;
export declare function isOmoSession(sessionName: string | null): boolean;
export declare function killAllTrackedSessions(state: InteractiveBashSessionState): Promise<void>;