export type ReportErrorScope = 'screen' | 'component' | 'http'; export type ReportErrorContext = { componentStack?: string; scope?: ReportErrorScope; screenName?: string; tags?: Record; extra?: Record; }; interface LogAdapterConfig { enabled: boolean; error: (message: string, ...args: any[]) => void; info: (message: string, ...args: any[]) => void; reportError: (error: Error, context?: ReportErrorContext) => void; } export declare class LogAdapter { enabled: boolean; onError?: LogAdapterConfig['error']; onInfo?: LogAdapterConfig['info']; onReportError?: LogAdapterConfig['reportError']; constructor(config?: Partial); error(message: string, ...args: any[]): void; info(message: string, ...args: any[]): void; reportError(error: Error, context?: ReportErrorContext): void; } export {}; //# sourceMappingURL=log.d.ts.map