import { type ReactNode } from "react"; export type InteractiveAnswerProps = { source: string; /** "streaming" grows the answer in place; "incomplete" shows what arrived. */ state: "complete" | "streaming" | "incomplete"; /** The fence as plain code, shown when the body cannot be drawn. */ renderSource: () => ReactNode; }; export declare function InteractiveAnswer({ source, state, renderSource }: InteractiveAnswerProps): import("react").JSX.Element;