/** * Error instance properties are not enumerable so we must transform the error * into a plain object if we want to pass it to `JSON.stringify` or similar. */ export declare function errorToObject(err: Error): any; //# sourceMappingURL=error-to-object.d.ts.map