import { VariantProps } from 'class-variance-authority'; import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from '../atoms/accordion'; import { ClassProp } from 'class-variance-authority/types'; import * as React from "react"; export type ToolCallView = "table" | "code"; export type ToolCallState = "calling" | "complete" | "error"; export type ToolCallAccordionProps = React.ComponentProps; export type ToolCallAccordionItemProps = React.ComponentProps; export type ToolCallAccordionTriggerProps = React.ComponentProps & VariantProps & { toolName: string; icon?: React.ReactNode; showStateIndicator?: boolean; }; export type ToolCallAccordionContentProps = React.ComponentProps & { view?: ToolCallView; onViewChange?: (view: ToolCallView) => void; showViewToggle?: boolean; args?: Record; result?: unknown; errorNotice?: { title: string; description: string; details?: string; }; }; declare const toolCallAccordionTriggerVariants: (props?: ({ state?: "error" | "complete" | "calling" | null | undefined; } & ClassProp) | undefined) => string; declare function ToolCallAccordion({ className, ...props }: ToolCallAccordionProps): React.JSX.Element; declare function ToolCallAccordionItem({ className, ...props }: ToolCallAccordionItemProps): React.JSX.Element; declare function ToolCallAccordionTrigger({ className, state, toolName, icon, showStateIndicator, ...props }: ToolCallAccordionTriggerProps): React.JSX.Element; /** * Expandable content area with a built-in table/JSON view toggle. * * Pass `args` and/or `result` as props to render the standard "Parameters" * and "Response" sections. The active view is applied automatically. * Additional content can be passed as `children`. */ declare function ToolCallAccordionContent({ className, children, view: viewProp, onViewChange, showViewToggle, args, result, errorNotice, ...props }: ToolCallAccordionContentProps): React.JSX.Element; export { ToolCallAccordion, ToolCallAccordionContent, ToolCallAccordionItem, ToolCallAccordionTrigger, }; //# sourceMappingURL=tool-call-accordion.d.ts.map