import type { ClaudeWorkbenchClient } from "@claude-ai-workbench/client"; import type { ImageAttachmentInput, SlashCommand, WorkbenchContext } from "@claude-ai-workbench/contracts"; import type { TerminalAdapter, TerminalController, TerminalState } from "@claude-ai-workbench/core"; export declare class ClaudeWorkbenchPane extends HTMLElement { client: ClaudeWorkbenchClient | null; adapter: TerminalAdapter | null; context: WorkbenchContext | null; locale: "zh-CN" | "en" | string; readonly controller: TerminalController | null; newSession(): Promise; restoreSession(sessionId: string): Promise; focusInput(): void; destroy(): void; } declare global { interface HTMLElementTagNameMap { "claude-workbench-pane": ClaudeWorkbenchPane; } interface HTMLElementEventMap { "terminal-state-change": CustomEvent; "workbench-state-change": CustomEvent; "running-change": CustomEvent<{ running: boolean }>; "terminal-error": CustomEvent; "workbench-error": CustomEvent; "terminal-attach-request": CustomEvent<{ context: WorkbenchContext | null; addFiles(files: FileList | File[]): Promise }>; "terminal-attachments-change": CustomEvent<{ attachments: ImageAttachmentInput[] }>; "terminal-command": CustomEvent<{ command: string; commandInfo?: SlashCommand; context: WorkbenchContext | null; state: TerminalState }>; } }