import { type JSX } from 'solid-js'; import type { ToolCallPart, ToolResultPart } from '@conciv/protocol/chat-message-types'; import type { ToolCardProps, ToolCardView, ToolViewCtx } from '@conciv/protocol/tool-view-types'; declare function FallbackRoot(props: { children: JSX.Element; }): JSX.Element; declare function Trigger(): JSX.Element; declare function Content(props: { children: JSX.Element; }): JSX.Element; export declare function toolFallbackHasEmbeddedBody(part: ToolCallPart, result: ToolResultPart | undefined, ctx: ToolViewCtx): boolean; declare function Args(): JSX.Element; declare function Result(): JSX.Element; declare function ToolError(): JSX.Element; declare function Approval(): JSX.Element; declare function ToolFallbackImpl(props: ToolCardProps): JSX.Element; export declare const toolFallbackCardView: ToolCardView; export declare const ToolFallback: typeof ToolFallbackImpl & { Root: typeof FallbackRoot; Trigger: typeof Trigger; Content: typeof Content; Args: typeof Args; Result: typeof Result; Error: typeof ToolError; Approval: typeof Approval; }; export {}; //# sourceMappingURL=tool-fallback.d.ts.map