import type { Lazy, TypeGuard } from '../../libs/standard-types'; import type { Result } from './result'; export declare function fromPredicate(predicate: TypeGuard, onFail: Lazy): (input: A) => Result;