import { SourceLocation } from '../utils/source-location'; export interface IConsoleInterceptor { intercept(): void; restore(): void; } export interface ConsoleLogData { method: string; message: string; sourceLocation?: SourceLocation | null; } export type ConsoleLogCallback = (method: string, message: string, sourceLocation?: SourceLocation | null) => void; export declare class BaseConsoleInterceptor implements IConsoleInterceptor { private onConsoleLog; private originalMethods; constructor(onConsoleLog: ConsoleLogCallback); intercept(): void; restore(): void; }