UNPKG

ai-utils.js

Version:

Build AI applications, chatbots, and agents with JavaScript and TypeScript.

3 lines (2 loc) 147 B
import { SafeResult } from "./SafeResult.js"; export declare const runSafe: <OUTPUT>(f: () => PromiseLike<OUTPUT>) => Promise<SafeResult<OUTPUT>>;