/**
 * If the two errors are of the same type, and have the same message, then they are equal
 * @param {T} a - The first error to compare.
 * @param {U} b - The error to compare against.
 * @returns The result of the function call.
 */
export declare function equalError<T extends Error, U extends T>(a: T, b: U): boolean;
