export interface CoreConfig { projectId: string; enable: boolean; trackWarning: boolean; apiEndpoint: string; maxEventsPerMinute?: number; environment?: string; debug?: boolean; trackHttpRequests?: boolean; } export interface HttpRequestData { url: string; method: string; status?: number; statusText?: string; headers?: Record; body?: any; responseTime?: number; requestId?: string; } export interface EventData { type: 'error' | 'warning' | 'custom' | 'http_error'; message: string; timestamp: number; url: string; userAgent: string; stack?: string; customData?: any; environment?: string; framework?: string; errorType?: string; hash?: string; httpRequest?: HttpRequestData; source?: 'global' | 'http' | 'manual'; }