/** * Normalize an arbitrary thrown value into an `Error` instance. * * Useful at error-pipeline boundaries (catch blocks, error middleware, * fallbacks) where TypeScript hands you `unknown` but downstream code * wants a real `Error` to inspect or rethrow. Duck-typed: any value * passing `isError` is returned as-is. Strings become `new Error(str)`; * any other value is stringified. */ export declare function normalizeError(input: unknown): Error; //# sourceMappingURL=normalize.d.ts.map