import type { Lazy } from '../../libs/standard-types'; import type { Result } from './result'; export declare const tryCatch: (throwingFn: Lazy) => Result; export declare const withTryCatch: (throwingFn: (...params: Params) => OkType) => (...params: Params) => Result;