import watcher from '@parcel/watcher';
import { Observable } from 'rxjs';
/**
 * Function to watch a specific file for changes.
 * @param {string} filePath - The path of the file to watch.
 * @param type - The type of event to watch for.
 * @returns {Observable<watcher.Event>} - An Observable that emits an event whenever the file changes.
 */
export declare function watchFile(filePath: string, type?: watcher.EventType | watcher.EventType[]): Observable<watcher.Event>;
