import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; import { ApiGatewayService } from '../../api-client/api-gateway.service'; import { CacheService } from '../../cache.service'; import { IAttributeGroupModel } from './fndy-attribute-group.model'; import { IFndyGlobalActionModel } from './fndy-global-action.model'; import { IObjectJunctionModel } from './fndy-object-junction.model'; import { IFndyObjectTypeAttribute } from './fndy-object-type-attribute.model'; import { IFndyObjectType } from './fndy-object-type.model'; import { IFndyObject } from './fndy-object.model'; import { IFndyProvisioningRule } from './fndy-provisioning-rule.model'; import * as i0 from "@angular/core"; export declare class FndyObjectService { private apiGatewayService; private cacheService; private httpClient; private _historyIsExporting$; historyIsExporting$: Observable; constructor(apiGatewayService: ApiGatewayService, cacheService: CacheService, httpClient: HttpClient); getObjects(accountId: string): Observable; getObjectTypes(accountId: string, oneLevel?: boolean): Observable; getObjectTypeMap(accountId: string, oneLevel?: boolean): Observable>; downloadObjectType(typeId: string, name: string, templates: IFndyObjectTypeAttribute[]): Observable; deleteObjectType(typeId: string): Observable; getObject(objectId: string, withReferences?: boolean): Observable; deleteObjectAttributes(objectId: string, attributesToDelete: string[]): Observable; getObjectsByType(typeId: string): Observable; getGlobalActions(): Observable; getWorkflows(): Observable; getAttributeGroups(accountId: string): Observable; createAttributeGroup(attributeGroup: IAttributeGroupModel): Observable; updateAttributeGroup(attributeGroup: IAttributeGroupModel): Observable; deleteAttributeGroup(groupId: string): Observable; deleteObject(objectId: string): Observable; getObjectHistory(objectId: string, limit: number, start: number, end: number, type: 'history' | 'mqtt'): Observable; exportObjectHistory(data: { columns: any[]; device_id: string; end: number; start: number; fields: string[]; filter: string; sort_by: string; sort_dir: string; timezone: number; type: 'csv' | 'pdf'; type_id: string; }, type: 'posted_data' | 'history'): void; updateObject(fndyObject: IFndyObject): Observable; updateObjectType(fndyObjectType: IFndyObjectType): Observable; createObjectType(fndyObjectType: IFndyObjectType): Observable; createObject(fndyObject: IFndyObject): Observable; createObjects(fndyObjects: IFndyObject[]): Observable; getObjectType(typeId: string): Observable; getReferencesTo(objectId: string, with_type: boolean): Observable; deleteReference(refTo: string, refFrom: string): Observable; getObjectsByName(accountId: string, searchText: string, groupsOnly?: boolean): Observable; getParents(objectId: string): Observable; getChildren(objectId: string): Observable; createDeviceJunction(deviceId: string, parentId: string, order?: number): Observable; deleteDeviceJunction(deviceId: string, parentId: string): Observable; getProvisioningRules(accountId: string): Observable; createProvisioningRule(rule: IFndyProvisioningRule): Observable; updateProvisioningRule(rule: IFndyProvisioningRule): Observable; deleteProvisioningRule(accountId: string, ruleName: string): Observable; invokeGlobalAction(deviceId: string, actionId: string): Observable; invokeFoundryAction(actionType: string, actionEndpoint: string, payload: string): Observable; saveScheduledGADevices(account_id: string, devices: IFndyGlobalActionModel[]): Observable; private export; private getObjectHistoryPage; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }