export interface EdnaCaptureConfig { projectId: string; enable?: boolean; trackWarning?: boolean; apiEndpoint?: string; } export interface ErrorEvent { type: 'error' | 'warning' | 'custom'; message: string; stack?: string; timestamp: number; url: string; userAgent: string; customData?: any; } export interface CustomEventData { eventName: string; data?: any; }