declare const attemptifyAsync: (fn: FN, onError: (error: unknown) => undefined) => FN; declare const attemptifySync: (fn: FN, onError: (error: unknown) => undefined) => FN; export { attemptifyAsync, attemptifySync };