import type { MigrationProgressEvent, MigrationProgressReporter, MigrationRunStatus } from '../../shared/types/migration.types.js';
/**
 * 마이그레이션 진행 상황을 브로드캐스트하는 서비스
 * - 런 ID별 최신 스냅샷을 캐시하고 구독자에게 실시간으로 전달
 */
declare class MigrationMonitorService implements MigrationProgressReporter {
    private readonly emitter;
    private readonly latestEvents;
    private readonly statuses;
    private readonly allChannel;
    publish(event: MigrationProgressEvent): void;
    subscribe(runId: string, listener: (event: MigrationProgressEvent) => void): () => void;
    subscribeAll(listener: (event: MigrationProgressEvent) => void): () => void;
    getLatest(runId: string): MigrationProgressEvent | undefined;
    getStatus(runId: string): MigrationRunStatus | undefined;
    listActiveRuns(): string[];
    clear(runId: string): void;
    private channel;
    private cloneEvent;
    private cloneProgress;
}
export declare const migrationMonitorService: MigrationMonitorService;
export {};
//# sourceMappingURL=migration-monitor-service.d.ts.map