/**
 * Watch Application Files Use Case
 *
 * Subscribes to recursive filesystem change events under an application's
 * repositoryPath. Used by the IDE tab to refresh the tree and re-read
 * currently open files when the agent (or any other process) writes to
 * disk.
 */
import type { IApplicationRepository } from '../../ports/output/repositories/application-repository.interface.js';
import type { IApplicationFileSystemService, FileChangeListener, UnsubscribeFn } from '../../ports/output/services/application-file-system-service.interface.js';
export interface WatchApplicationFilesCommand {
    applicationId: string;
    onEvent: FileChangeListener;
}
export declare class WatchApplicationFilesUseCase {
    private readonly appRepo;
    private readonly fs;
    constructor(appRepo: IApplicationRepository, fs: IApplicationFileSystemService);
    execute(command: WatchApplicationFilesCommand): Promise<UnsubscribeFn>;
}
//# sourceMappingURL=watch-application-files.use-case.d.ts.map