import { OnApplicationBootstrap, OnModuleDestroy } from '@nestjs/common'; import { EventEmitter2 } from '@nestjs/event-emitter'; import { SchedulerRegistry } from '@nestjs/schedule'; import { SuggestionType } from '../spaces.constants'; import { SpaceSuggestionService } from './space-suggestion.service'; import { SpacesService } from './spaces.service'; export interface SpaceSuggestionEvent { id: string; type: SuggestionType; title: string; reason: string | null; intent_type: string; intent_mode: string | null; space_id: string; created_at: string; expires_at: string; } export declare class SpaceSuggestionHeartbeatService implements OnApplicationBootstrap, OnModuleDestroy { private readonly schedulerRegistry; private readonly spacesService; private readonly suggestionService; private readonly eventEmitter; private readonly logger; private running; constructor(schedulerRegistry: SchedulerRegistry, spacesService: SpacesService, suggestionService: SpaceSuggestionService, eventEmitter: EventEmitter2); onApplicationBootstrap(): void; onModuleDestroy(): void; runCycle(): Promise; }