UNPKG

@promptbook/remote-server

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

11 lines (10 loc) 392 B
import type { ToolCall } from '../../../../types/ToolCall'; /** * Parses tool call creation timestamp into a valid date. * * @param toolCall - Tool call carrying `createdAt`. * @returns Parsed date or `null` when timestamp is missing/invalid. * * @private function of toolCallParsing */ export declare function getToolCallTimestamp(toolCall: Pick<ToolCall, 'createdAt'>): Date | null;