import { OnDestroy, OnInit } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { IManagedObject, IOperation, IResultList } from '@c8y/client';
import { AlertService, ManagedObjectRealtimeService, OperationRealtimeService, ProductExperienceEvent, ProductExperienceEventSource, ForOfFilterPipe } from '@c8y/ngx-components';
import { ComparisonResult, DeviceProfile } from '../device-profile.model';
import { DeviceProfileService } from '../device-profile.service';
import * as i0 from "@angular/core";
export declare class DeviceTabProfileComponent implements OnInit, OnDestroy, ProductExperienceEventSource {
    deviceRealtime: ManagedObjectRealtimeService;
    private deviceProfileService;
    private route;
    private operationRealtime;
    private alertService;
    PRODUCT_EXPERIENCE: {
        readonly EVENTS: {
            readonly REPOSITORY: "deviceProfileRepository";
            readonly DEVICE_TAB: "deviceProfileTab";
        };
        readonly COMPONENTS: {
            readonly DEVICE_PROFILE_LIST: "device-profile-list";
            readonly ADD_DEVICE_PROFILE: "add-device-profile";
            readonly DEVICE_PROFILE: "device-profile";
            readonly DEVICE_TAB_PROFILE: "device-tab-profile";
        };
        readonly ACTIONS: {
            readonly CANCEL: "cancel";
            readonly CREATE: "create";
            readonly REMOVE: "remove";
            readonly ADD: "add";
            readonly SAVE: "save";
            readonly ASSIGN_DEVICE_PROFILE: "assignDeviceProfile";
        };
        readonly RESULTS: {
            readonly ADD_SOFTWARE: "addSoftware";
        };
        readonly FRAGMENTS: {
            readonly FIRMWARE: "firmware";
            readonly SOFTWARE: "software";
            readonly CONFGIURATION: "configuration";
        };
    };
    device: IManagedObject;
    deviceProfiles: IResultList<IManagedObject>;
    selectedProfile: Partial<DeviceProfile>;
    operation: IOperation;
    firmwareItems: ComparisonResult[];
    softwareItems: ComparisonResult[];
    configurationItems: ComparisonResult[];
    filterPipe: ForOfFilterPipe;
    pattern: string;
    reloading: boolean;
    productExperienceEvent: ProductExperienceEvent;
    private operationsSubscription;
    private moOnDeleteSubscription;
    private moOnUpdateSubscription;
    constructor(deviceRealtime: ManagedObjectRealtimeService, deviceProfileService: DeviceProfileService, route: ActivatedRoute, operationRealtime: OperationRealtimeService, alertService: AlertService);
    ngOnInit(): Promise<void>;
    getDeviceProfilesAndUpdateProfileItems(): Promise<void>;
    selectProfile(mo: DeviceProfile): void;
    createOperation(): Promise<void>;
    setPipe(filterStr: string): void;
    ngOnDestroy(): void;
    updateProfileItems(device: any, profile: any): void;
    private subscribeToManagedObjects;
    private subscribeToOperations;
    static ɵfac: i0.ɵɵFactoryDeclaration<DeviceTabProfileComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<DeviceTabProfileComponent, "c8y-device-tab-profile", never, {}, {}, never, never, false, never>;
}
//# sourceMappingURL=device-tab-profile.component.d.ts.map