import type { RestartManager } from './helpers/restartManager.js';
import type { Logger } from './logger.js';
import { type WatchFilesResult } from './server/watchFiles.js';
import type { InternalContext, RestartContext, WatchFiles } from './types/index.js';
export declare const requestRestart: ({ clear, logger, restartContext, restartManager }: {
    clear?: boolean;
    logger: Logger;
    restartContext: RestartContext;
    restartManager: RestartManager;
}) => Promise<boolean>;
export declare function watchFilesForRestart({ watchFiles, context, restartContext }: {
    watchFiles: WatchFiles[];
    context: InternalContext;
    restartContext: RestartContext;
}): WatchFilesResult | undefined;
