import { ComponentProps, ReactNode } from 'react'; import { Collapsible } from '../collapsible'; export interface ReasoningProps extends Omit, 'onOpenChange'> { /** * Whether the reasoning is still being produced. While `true` the default * trigger shows a shimmering "Thinking…" label and the panel auto-opens; * when it flips back to `false` the panel auto-collapses — unless the user * has toggled it themselves. * @defaultValue false */ streaming?: boolean; /** * How long the reasoning took, in seconds. Rendered by the default trigger * label as "Worked for N seconds" once `streaming` is over. */ duration?: number; /** Called when the panel is opened or closed. */ onOpenChange?: (open: boolean) => void; } declare function ReasoningRoot({ className, streaming, duration, open: openProp, defaultOpen, onOpenChange, children, ...props }: ReasoningProps): import("react/jsx-runtime").JSX.Element; declare namespace ReasoningRoot { var displayName: string; } export interface ReasoningTriggerProps extends ComponentProps { } export declare function ReasoningTrigger({ className, children, ...props }: ReasoningTriggerProps): import("react/jsx-runtime").JSX.Element; export declare namespace ReasoningTrigger { var displayName: string; } export interface ReasoningContentProps extends ComponentProps { } export declare function ReasoningContent({ className, children, ...props }: ReasoningContentProps): import("react/jsx-runtime").JSX.Element; export declare namespace ReasoningContent { var displayName: string; } export interface ReasoningStepProps extends ComponentProps<'div'> { /** Title row of the step, e.g. "Gathering ticket updates". */ label?: ReactNode; } export declare function ReasoningStep({ className, label, children, ...props }: ReasoningStepProps): import("react/jsx-runtime").JSX.Element; export declare namespace ReasoningStep { var displayName: string; } export declare const Reasoning: typeof ReasoningRoot & { Trigger: typeof ReasoningTrigger; Content: typeof ReasoningContent; Step: typeof ReasoningStep; }; export {}; //# sourceMappingURL=reasoning.d.ts.map