@promptbook/node
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
28 lines (27 loc) • 888 B
TypeScript
import { type ReactElement } from 'react';
import type { WalletCredentialToolCallResult } from '../utils/walletCredentialToolCall';
/**
* Rendering options for wallet credential tool calls.
*
* @private function of ChatToolCallModal
*/
type RenderWalletCredentialToolCallDetailsOptions = {
/**
* Safe credential usage metadata.
*/
credential: WalletCredentialToolCallResult;
/**
* Optional timestamp of the action.
*/
toolCallDate: Date | null;
};
/**
* Renders a friendly wallet-credential usage summary for non-technical users.
*
* @param options - Credential payload and optional timestamp.
* @returns Credential details section for the tool modal.
*
* @private function of ChatToolCallModal
*/
export declare function renderWalletCredentialToolCallDetails(options: RenderWalletCredentialToolCallDetailsOptions): ReactElement;
export {};