import type { BuildType } from '../build-enums'; /** Initiates the type-checker watcher and an additional watcher that detects new entrypoints that have been added by the user. Returns cleanup function. */ export declare function initiateTypeCheckerWatchers(options: { appRoot: string; entrypoints: string[]; tsconfigFullPath: string; glob: string; buildType: BuildType; watchMode?: boolean; }): Promise<() => void>; /** Watches the files from the given array of entrypoints and incrementally typechecks them when something changes. Type errors will be logged to the console if there appear to be some. */ export declare function watch(options: { appRoot: string; entrypoints: string[]; tsConfigFullPath: string; buildType: BuildType; }): Promise | import("typescript").WatchOfFilesAndCompilerOptions>;