import { Kn as PluginRuntime } from "../../types-CaqpvD9U.js";
import { s as SessionCatalogTerminalPlan } from "../../session-catalog-BCW2KW0v.js";
import { C as OpenClawPluginNodeHostCommand } from "../../plugin-entry-Bh-NZHjd.js";
import { t as OpenCodeSessionPage } from "../../session-catalog-ULgzOXBz.js";

//#region extensions/opencode/session-catalog-terminal.d.ts
type OpenCodeTerminalDependencies = {
  parseNodeSessionPage: (value: unknown) => OpenCodeSessionPage;
  unwrapNodePayload: (value: unknown) => unknown;
};
declare function createOpenCodeTerminalNodeHostCommand(isAvailable: NonNullable<OpenClawPluginNodeHostCommand["isAvailable"]>): OpenClawPluginNodeHostCommand;
declare function openOpenCodeCatalogTerminal(params: {
  runtime: PluginRuntime;
  hostId: string;
  threadId: string;
} & OpenCodeTerminalDependencies): Promise<SessionCatalogTerminalPlan>;
//#endregion
export { createOpenCodeTerminalNodeHostCommand, openOpenCodeCatalogTerminal };