import { Injector } from '@opensumi/di';
import { IRPCProtocol } from '@opensumi/ide-connection';
import { ILogger, LogLevel } from '@opensumi/ide-core-common';
import { IMainThreadExtensionLog } from '../../../common/extension-log';
export declare class MainThreadExtensionLog implements IMainThreadExtensionLog {
    protected readonly logger: ILogger;
    $getLevel(): Promise<LogLevel>;
    $setLevel(level: LogLevel): Promise<void>;
    $verbose(...args: any[]): Promise<void>;
    $debug(...args: any[]): Promise<void>;
    $log(...args: any[]): Promise<void>;
    $warn(...args: any[]): Promise<void>;
    $error(...args: any[]): Promise<void>;
    $critical(...args: any[]): Promise<void>;
    $dispose(): Promise<void>;
}
/**
 * @deprecated
 */
export declare function createExtensionLogFactory(rpcProtocol: IRPCProtocol, injector: Injector): void;
//# sourceMappingURL=main.thread.log.d.ts.map