import { Exception, FN } from '../types'; declare const attemptifyAsync: >(fn: T, onError?: FN<[Exception]>) => T; declare const attemptifySync: >(fn: T, onError?: FN<[Exception]>) => T; export { attemptifyAsync, attemptifySync };