interface WorkspaceFileWatchParams {
    workspacePath: string;
    filePath: string;
}
/**
 * 开始监听工作区内单个文件，重复监听同一文件会复用已有 watcher。
 */
export declare function watchWorkspaceFile(params: WorkspaceFileWatchParams): Promise<{
    ok: true;
    workspacePath: string;
    filePath: string;
}>;
/**
 * 停止监听工作区内单个文件；未监听时保持幂等。
 */
export declare function unwatchWorkspaceFile(params: WorkspaceFileWatchParams): Promise<{
    ok: true;
}>;
export declare function getWorkspaceWatchCountForTests(): number;
export {};
//# sourceMappingURL=workspace-watch.d.ts.map