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<typeof Accordion>;
export type ToolCallAccordionItemProps = React.ComponentProps<typeof AccordionItem>;
export type ToolCallAccordionTriggerProps = React.ComponentProps<typeof AccordionTrigger> & VariantProps<typeof toolCallAccordionTriggerVariants> & {
    toolName: string;
    icon?: React.ReactNode;
    showStateIndicator?: boolean;
};
export type ToolCallAccordionContentProps = React.ComponentProps<typeof AccordionContent> & {
    view?: ToolCallView;
    onViewChange?: (view: ToolCallView) => void;
    showViewToggle?: boolean;
    args?: Record<string, unknown>;
    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): import("react/jsx-runtime").JSX.Element;
declare function ToolCallAccordionItem({ className, ...props }: ToolCallAccordionItemProps): import("react/jsx-runtime").JSX.Element;
declare function ToolCallAccordionTrigger({ className, state, toolName, icon, showStateIndicator, ...props }: ToolCallAccordionTriggerProps): import("react/jsx-runtime").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): import("react/jsx-runtime").JSX.Element;
export { ToolCallAccordion, ToolCallAccordionContent, ToolCallAccordionItem, ToolCallAccordionTrigger, };
//# sourceMappingURL=tool-call-accordion.d.ts.map