/** * @description * Use this helper to safely invoke an async function and catch any errors that occur. */ export declare const attemptAsync: (fn: () => Promise) => Promise<{ ok: boolean; result: Awaited; error: null; } | { ok: boolean; result: null; error: TError; }>;