import type { TypePredicateFn } from '../types/functions.js'; export type ErrorFactory = (input: unknown) => Error; export declare function assertPredicate(input: unknown, predicate: TypePredicateFn, error?: string | Error | ErrorFactory): asserts input is T;