import { LoadingController, ModalController } from '@ionic/angular'; import { AnimationBuilder } from '@angular/animations'; import { ApiService } from './api.service'; import { IconData } from '../interfaces/things/modules/module.interface'; import { Asset } from '../interfaces/things/assets/asset.interface'; import { Thing } from '../interfaces/things/thing.interface'; import { MetaThing } from '../interfaces/things/meta-thing/meta-thing.interface'; export declare class ComponentUtilsService { loadingController: LoadingController; apiService: ApiService; private animationBuilder; modalController: ModalController; apiProvider: ApiService; quillOpts: any; iconList: Array; constructor(loadingController: LoadingController, apiService: ApiService, animationBuilder: AnimationBuilder, modalController: ModalController, apiProvider: ApiService); createEmptyAsset(): Asset; createEmptyResource(type: string): Thing; waitOneTick: () => Promise; checkResource(guid: string): Promise; getThingWithChildren(guid: string): Promise; createComponentAnimation(component: Element, originalStyle: any, newStyle: any, duration: number): Promise; digJSON(pathElements: Array, obj: any, val?: string): any; getValueFromObject(source: string, obj: any): any; updateValueFromObject(updatedValue: any, source: string, obj: any): void; private loadAllThingTypes; /** * Get readable thing type descriptors */ loadThingTypes(type?: string): Promise; /** * Get creatable thing type descriptors * @param type Thing type * @param showLoading Show loading element while getting data. Defaults to true */ loadThingTypesCreatable(type?: string, showLoading?: boolean): Promise; setCurrentThingType(thingTypes: Array, type?: string): MetaThing; getPermissionsToReadThing(type?: string): Promise; getPermissionsToCreateThing(type?: string): Promise; getIconPath(name: string): string; }