/** * Reading an arbitrary thrown value, which TypeScript types as `unknown` and * may not be an `Error` at all. Shared across the host and every provider * package instead of each one carrying its own copy. */ export interface ErrorInfo { message: string; stack?: string; } /** The message of an arbitrary thrown value, for wrapping into a typed error. */ export declare function errorMessage(error: unknown): string; export declare function errorInfo(error: unknown): ErrorInfo; //# sourceMappingURL=error-info.d.ts.map