export interface IPlainObjectError { name: string; message: string; errorId?: string; errors?: any[]; } export declare function safeErrorSerialize(error: any, sentryErrorId?: string): IPlainObjectError;