import type { ReactNode } from 'react'; /** A turn's reasoning, folded under a line such as "Thought for 5s". It opens * in place, above the answer it led to, rather than in a panel the eye has to * cross the page to read; with `onOpenPanel` the host shows it elsewhere * instead. */ export declare function Reasoning({ label, shimmer, open, onOpenChange, onOpenPanel, preview, children, }: { label: ReactNode; /** While the model is still thinking the label shimmers. */ shimmer?: boolean; open: boolean; onOpenChange: (open: boolean) => void; /** Shows the reasoning in the host's own panel in place of opening it here. */ onOpenPanel?: (() => void) | undefined; /** Shown under the folded line, such as the latest lines while it streams. */ preview?: ReactNode; children: ReactNode; }): import("react").JSX.Element; /** The reasoning itself: smaller and quieter than the answer, hung off a * hairline of the accent so it reads as the assistant's aside. */ export declare function ReasoningBody({ className, children, }: { className?: string; children: ReactNode; }): import("react").JSX.Element;