/**
 * Build journal entries for a pending-path set, detecting deletions by
 * existence check.
 *
 * `ctx.pending` is an untyped `Set<string>` — it carries no event-type
 * metadata. Without this check, a file deleted during the watch session
 * would be journaled as "changed", causing the next incremental build to
 * try to re-parse a non-existent file instead of removing it from the graph.
 * Mirrors the deletion detection in `rebuildFile` (see builder/incremental.ts).
 *
 * Exported for unit-testing; prefer `setupShutdownHandler` in production paths.
 */
export declare function buildFlushEntriesFromPending(rootDir: string, pending: Iterable<string>): Array<{
    file: string;
    deleted: boolean;
}>;
export declare function watchProject(rootDir: string, opts?: {
    engine?: string;
    poll?: boolean;
    pollInterval?: number;
    dbPath?: string;
}): Promise<void>;
//# sourceMappingURL=watcher.d.ts.map