import { ProcessorValueHelperService } from './processor-value-helper.service'; import { SmartenitCurrencyService } from './smartenit-currency.service'; import { TemperatureConverterService } from './temperature-converter.service'; import { SmartenitTranslationService } from './translation/smartenit-translation.service'; import { ConditionModel } from '../models/condition.model'; import { EffectModel } from '../models/effect.model'; import { ControllerModel } from '../models/controller.model'; import { ResponderModel } from '../models/responder.model'; import { DeviceModel } from '../models/device.model'; export declare class NaturalLanguageService { private processorValueHelperService; private currencyService; private temperatureConverterService; private translationService; constructor(processorValueHelperService: ProcessorValueHelperService, currencyService: SmartenitCurrencyService, temperatureConverterService: TemperatureConverterService, translationService: SmartenitTranslationService); private translate(key); private append(desc, value, connector?); private plural(value); private parseOffset(offset); private pluralText(text, val); private parseSeconds(secs); private appendText(arr); private rangeToArray(range); private weekString(week); private isNumber(n); private digits(n); private prepend(desc, value, connector?); ordinal(number: number): string; private color(colorName); private monthString(monthIndex); private bitmaskToString(bitmask); private getConnectorByType(type); private getDeviceStateFromType(type, isActive); private getDeviceIdFromPath(path?); private getComponentName(item); private getMethodFromPath(pathStr, onlyParameter); private getDeviceName(resource); private parseAttributeName(path); private parseAttributeCondition(attr, val, deviceName, connector, componentId, processorName, device?, deviceId?, componentName?); private getMultipleComponentsName(device, deviceId, processorName, componentId, parents); private setDeviceConditionDescription(condition, connector, val, device?); private parseCrontab(crontab, sunTime?, timezone?, hasFromTo?); private convertHoursMinutesToUtc(hours, minutes, offsetTime); private getRegularHourFormat(hourUtc); private getAmPmByHour(hour); private parseDelay(delay); private getDeviceMethodFromPath(path); private getDeviceAttributeFromPath(path); private parseDuration(duration); private parseMethod(method, deviceName, value); private parseAttribute(attribute, deviceName, value, device?); getDateDescription(date: Date, todaysDate: Date): string; getConditionDescription(condition: ConditionModel, device?: DeviceModel): string; private calcTimezone(timezone); private parseDateVal(value, timeZone, onlyTime?, dateAndTime?, fromValueDate?, toValueDate?, isFromType?); private parseInterval(interval); getEffectDescription(effect: EffectModel, device?: DeviceModel): string; getResponderDescription(responder: ResponderModel, device: DeviceModel): string; private getDeviceComponentFromPath(path); private getDeviceProcessorFromPath(path); getControllerDescription(controller: ControllerModel, device: DeviceModel): string; getActionDescription(conditions: [ConditionModel], effects: [EffectModel]): any; private extractMethodFromPath(path, resName); private getProcessorFromPath(path, resName); private getComponentFromPath(path, resName); private getAttributeFromPath(path, resName); private getResourceNameFromPath(path); private getResourceNameFromParents(resource, resName); private getInputDeviceName(device, input); private getResourceIdFromPath(path, resName); private getColorFromColorControlPayload(method, value); }