export interface TerminalPaneProps { /** Lines already written to the terminal, oldest first. */ history?: string[]; /** * Called with the trimmed command text when the user presses Enter. Empty * input is swallowed and never reaches this handler. * * The component does not echo the command or interpret it — append the echo * and any output to `history` yourself. This keeps command semantics * (`clear`, `help`, anything app-specific) entirely in your hands. */ onCommand?: (command: string) => void; /** Called when the collapse or close button is pressed. */ onClose?: () => void; /** * Height of the pane, as a CSS length. * * Leave it unset inside a host that sizes its own children — a side pane or a * dockable tab — and the terminal fills the space instead. Defaults to * `"250px"` only when standalone. */ height?: string; /** * Draw the title bar. * * Left unset, this follows the host: inside a `SidebarPane` or a dockable tab * the title is already drawn, so the pane omits its own. Set it explicitly to * force either way. */ chrome?: boolean; /** Prompt string shown before the input. Defaults to `"$"`. */ prompt?: string; /** Title shown in the pane header. Defaults to `"Terminal"`. */ title?: string; /** Extra classes merged onto the root element. */ className?: string; } /** * A terminal pane: a scrolling output log over a single-line input. * * Presentational and fully controlled — it owns only the in-progress input * text. Visibility, history and command execution all belong to the caller. * For the store-backed variant with built-in `clear`/`help` handling, see * `ConnectedTerminalPane`. * * **It fills whatever hosts it.** Bottom of the workspace, a side pane, or a * dockable tab — register it wherever it belongs. Inside a host that draws a * title bar it omits its own header and its own fixed height. * * @example * ```tsx * const [history, setHistory] = useState([]); * setHistory((h) => [...h, `$ ${cmd}`, run(cmd)])} * onClose={() => setOpen(false)} * /> * ``` */ export declare const TerminalPane: ({ history, onCommand, onClose, height, prompt, title, chrome, className, }: TerminalPaneProps) => import("react/jsx-runtime").JSX.Element;