/** * * Copyright (c) "Neo4j" * Neo4j Sweden AB [http://neo4j.com] * * This file is part of Neo4j. * * Neo4j is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ import { type CommonProps } from '../../_common/types'; type ReasoningProps = { /** What should be displayed inside the reasoning component. */ children?: React.ReactNode; /** Whether the AI is thinking */ isThinking?: boolean; /** The duration of the thinking in milliseconds */ thinkingMs?: number; /** The current action the AI is performing */ currentAction?: string; }; type SectionProps = { /** The heading of the section */ heading?: React.ReactNode; /** The children of the section */ children?: React.ReactNode; /** The visual leading the section */ leadingVisual?: React.ReactNode; /** Whether the section is expanded. * @deprecated - Does nothing, will be removed in v5 */ isExpanded?: boolean; /** The default value of the section is expanded. * @deprecated - Does nothing, will be removed in v5 */ isDefaultExpanded?: boolean; /** Callback function triggered when the section is expanded. * @deprecated - Does nothing, will be removed in v5 */ onExpandChange?: (isExpanded: boolean) => void; }; declare const Reasoning: (({ isThinking, thinkingMs, currentAction, children, className, style, htmlAttributes, ref, ...restProps }: CommonProps<"div", ReasoningProps>) => import("react/jsx-runtime").JSX.Element) & { Footer: ({ children, className, style, htmlAttributes, ref, ...restProps }: CommonProps<"div", { children: React.ReactNode; }>) => import("react/jsx-runtime").JSX.Element; Section: ({ heading, leadingVisual, children, className, style, htmlAttributes, ref, isExpanded: _isExpanded, isDefaultExpanded: _isDefaultExpanded, onExpandChange: _onExpandChange, ...restProps }: CommonProps<"div", SectionProps>) => import("react/jsx-runtime").JSX.Element; }; export { Reasoning }; //# sourceMappingURL=Reasoning.d.ts.map