/** Props for {@link TerminalSession}. */
export interface TerminalSessionProps {
    /**
     * The command that was run, shown as the `$ <command>` prompt line. Omit for
     * a pure-output render; the pre-execution approval gate passes only this
     * (no output exists yet).
     */
    readonly command?: string;
    /** Standard output. */
    readonly stdout?: string;
    /** Standard error, rendered in the destructive color. */
    readonly stderr?: string;
    /** Process exit code. A non-zero code renders a trailing `exit N` badge. */
    readonly exitCode?: number;
    /** Additional CSS class names for the root container. */
    readonly className?: string;
}
/**
 * Renders a shell tool call as a single, cohesive terminal session — the
 * command prompt line immediately followed by its output — instead of a
 * separate command box and output box.
 *
 * Used by {@link ResultView} (full session) and the approval gate's
 * {@link ToolArgsView} (command-only, pre-execution). Importable on its own by
 * platform builders composing custom tool UIs.
 *
 * @example
 * ```tsx
 * <TerminalSession command="ls -la" stdout="total 8\n..." exitCode={0} />
 * <TerminalSession command="npm test" /> // gate: command only
 * ```
 */
export declare function TerminalSession({ command, stdout, stderr, exitCode, className, }: TerminalSessionProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=TerminalSession.d.ts.map