import { ModalService, AlertService } from '@c8y/ngx-components';
import * as i0 from '@angular/core';
import { ElementRef, Injector, OnInit } from '@angular/core';
import { UpgradeComponent } from '@angular/upgrade/static';
import { ActivatedRoute } from '@angular/router';

declare class DeviceTypeDetailEditedService {
    isDetailEdited: boolean;
    getIsDetailEdited(): boolean;
    setIsDetailEdited(value: any): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<DeviceTypeDetailEditedService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<DeviceTypeDetailEditedService>;
}

declare class DeviceProtocolsGuard {
    private modal;
    private alert;
    private deviceTypeDetailEditedService;
    constructor(modal: ModalService, alert: AlertService, deviceTypeDetailEditedService: DeviceTypeDetailEditedService);
    canDeactivate(): Promise<boolean>;
    static ɵfac: i0.ɵɵFactoryDeclaration<DeviceProtocolsGuard, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<DeviceProtocolsGuard>;
}

declare class DeviceTypeDetail extends UpgradeComponent {
    id: string;
    constructor(elementRef: ElementRef, injector: Injector);
    static ɵfac: i0.ɵɵFactoryDeclaration<DeviceTypeDetail, never>;
    static ɵdir: i0.ɵɵDirectiveDeclaration<DeviceTypeDetail, "c8y-device-type-detail-directive", never, { "id": { "alias": "id"; "required": false; }; }, {}, never, never, true, never>;
}

declare function rootScopeTypeDetailFactory($injector: Injector): any;
declare class DeviceTypeDetailComponent implements OnInit {
    private route;
    deviceTypeId: string;
    constructor(route: ActivatedRoute);
    ngOnInit(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<DeviceTypeDetailComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<DeviceTypeDetailComponent, "c8y-device-type-detail", never, {}, {}, never, never, true, never>;
}

declare class DeviceProtocolsModule {
    static ɵfac: i0.ɵɵFactoryDeclaration<DeviceProtocolsModule, never>;
    static ɵmod: i0.ɵɵNgModuleDeclaration<DeviceProtocolsModule, never, [typeof DeviceTypeDetail, typeof DeviceTypeDetailComponent], [typeof DeviceTypeDetailComponent]>;
    static ɵinj: i0.ɵɵInjectorDeclaration<DeviceProtocolsModule>;
}

export { DeviceProtocolsGuard, DeviceProtocolsModule, DeviceTypeDetail, DeviceTypeDetailComponent, DeviceTypeDetailEditedService, rootScopeTypeDetailFactory };
//# sourceMappingURL=index.d.ts.map
