/**
 * Public entry for the chat tool-bubble module.
 *
 * `ToolBubble` inspects a persisted assistant-message text string and
 * returns the right compact bubble:
 *
 *   - Write / Edit / MultiEdit  → <FileWriteCard> (file preview, expand to full content)
 *   - Anything else             → <GenericToolBubble> (collapsible chip + JSON + optional output)
 *
 * When `outputText` is supplied, the caller is telling us that the
 * *next* persisted message after this tool call was its `Output`
 * pair. We extract the output body from that message and pass it
 * into `GenericToolBubble` so the expanded state of the bubble
 * shows both the tool invocation input AND the tool's stdout /
 * contents response in one place, instead of rendering them as two
 * sibling bubbles.
 *
 * Non-tool text returns `null` so the caller can fall through to the
 * normal markdown renderer.
 */
export interface ToolBubbleProps {
    text: string;
    /**
     * Optional raw content of the adjacent `Output` message paired
     * with this tool call by the step tracker. The bubble unwraps its
     * `**Output** \`...\`` persistence envelope internally.
     */
    outputText?: string;
}
export declare function ToolBubble({ text, outputText }: ToolBubbleProps): import("react/jsx-runtime").JSX.Element | null;
/** Re-export the detector for callers that need to branch on tool events
 *  before deciding which shell to render (e.g. AssistantMessage skipping
 *  its bubble wrapper). */
export { parseToolEvent, isFileWriteTool } from './detect.js';
//# sourceMappingURL=index.d.ts.map