/**
* Coerce an unknown problem into an Error object.
*
* @paramproblem - Whatever was caught.
* @returns The problem if it is an Error, or a new Error with the problem as the cause.
*/exportdeclarefunctiontoError(problem: unknown): Error;
//# sourceMappingURL=toError.d.mts.map