import type { Compiler } from 'webpack'; import { BaseCompilerWatching } from './base-compiler-watching.js'; export type GlobalCompilerWatchingContext = { compiler: Compiler; tsCheckerCallback?: (err: null | Error) => void; }; export declare class GlobalCompilerWatching extends BaseCompilerWatching { readonly compiler: Compiler; private globalContext; constructor(compiler: Compiler); checkTsErrors(): Promise; } export declare const createGlobalCompilerWatching: (compiler: Compiler) => GlobalCompilerWatching;