@promptbook/wizard
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
33 lines (32 loc) • 911 B
TypeScript
import { type ReactElement } from 'react';
import type { TODO_any } from '../../../utils/organization/TODO_any';
import type { ChatMessage } from '../types/ChatMessage';
/**
* Rendering options for search tool calls.
*
* @private function of ChatToolCallModal
*/
type RenderSearchToolCallDetailsOptions = {
/**
* Tool call being rendered.
*/
toolCall: NonNullable<ChatMessage['toolCalls']>[number];
/**
* Parsed tool call arguments.
*/
args: Record<string, TODO_any>;
/**
* Parsed tool result payload.
*/
resultRaw: TODO_any;
};
/**
* Renders the search-specific tool call detail view.
*
* @param options - Search tool call data.
* @returns Search results or pending state UI.
*
* @private function of ChatToolCallModal
*/
export declare function renderSearchToolCallDetails(options: RenderSearchToolCallDetailsOptions): ReactElement;
export {};