import { NotFalsy } from './type'; export declare function checkThrow(r?: T, msg?: string): T; export declare function checkTruthy(r?: T, msg?: string): r is NotFalsy; export declare function tryTo(f: (...args: any[]) => R, def?: D): R | D | undefined;