import { NetIdType } from '@tornado/core'; export interface ErrorTypes { type: string; netId: number; timestamp: number; } export interface ErrorMessages extends ErrorTypes { message?: string; stack?: string; } export declare function newError(type: string, netId: NetIdType, err: any): ErrorMessages;