export type NodeErrorReport = { error_type: string; error_name: string; error_message: string; error_stack: string; }; /** * Send an error to the host, so it is visible off the node. * * Never throws or rejects: callers are already handling a failure, some from * signal handlers where a rejection would be the only trace left. */ export declare function reportError(report: NodeErrorReport): Promise;