import { EventEmitter2 } from '@nestjs/event-emitter'; import { PlatformRegistryService } from '../../devices/services/platform.registry.service'; import { IntentTimeseriesService } from '../../intents/services/intent-timeseries.service'; import { IntentsService } from '../../intents/services/intents.service'; import { CoversIntentDto } from '../dto/covers-intent.dto'; import { CoversMode, CoversRolePositionRule } from '../spaces.constants'; import { SpaceContextSnapshotService } from './space-context-snapshot.service'; import { CoverDevice, CoversState, SpaceCoversStateService } from './space-covers-state.service'; import { IntentExecutionResult, SpaceIntentBaseService } from './space-intent-base.service'; import { SpaceUndoHistoryService } from './space-undo-history.service'; import { SpacesService } from './spaces.service'; export { CoverDevice, CoversState } from './space-covers-state.service'; export interface CoverModeSelection { cover: CoverDevice; rule: CoversRolePositionRule; } export interface CoversIntentResult extends IntentExecutionResult { newPosition: number | null; } export declare function selectCoversForMode(covers: CoverDevice[], mode: CoversMode): CoverModeSelection[]; export declare class CoversIntentService extends SpaceIntentBaseService { private readonly spacesService; private readonly platformRegistryService; private readonly coversStateService; private readonly eventEmitter; private readonly contextSnapshotService; private readonly undoHistoryService; private readonly intentTimeseriesService; private readonly intentsService; private readonly logger; constructor(spacesService: SpacesService, platformRegistryService: PlatformRegistryService, coversStateService: SpaceCoversStateService, eventEmitter: EventEmitter2, contextSnapshotService: SpaceContextSnapshotService, undoHistoryService: SpaceUndoHistoryService, intentTimeseriesService: IntentTimeseriesService, intentsService: IntentsService); getCoversState(spaceId: string): Promise; executeCoversIntent(spaceId: string, intent: CoversIntentDto): Promise; private filterOfflineCoverDevices; private buildCoversTargets; private filterOfflineIdsByRole; private mapCoversIntentType; private buildCoversIntentValue; private executePositionIntent; private executePositionIntentWithResults; private executePositionDeltaIntent; private executePositionDeltaIntentWithResults; private executeRolePositionIntent; private executeRolePositionIntentWithResults; private executeStopIntentWithResults; private executeModeIntent; private executeModeIntentWithResults; private setCoverPosition; private stopCover; private captureUndoSnapshot; private buildIntentDescription; private emitCoversStateChange; }