import { Observable } from 'rxjs';
import { Item } from '@myrmidon/cadmus-core';
import { EditedItemRepository } from '@myrmidon/cadmus-item-editor';
import * as i0 from '@angular/core';
import { OnInit, OnDestroy } from '@angular/core';
import { FacetService } from '@myrmidon/cadmus-api';
import { AppRepository, EditedLayerRepository } from '@myrmidon/cadmus-state';

declare class CurrentItemBarComponent {
    private _repository;
    item$: Observable<Item | undefined>;
    constructor(_repository: EditedItemRepository);
    static ɵfac: i0.ɵɵFactoryDeclaration<CurrentItemBarComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<CurrentItemBarComponent, "cadmus-current-item-bar", never, {}, {}, never, never, true, never>;
}

declare class CurrentLayerPartBarComponent implements OnInit, OnDestroy {
    private _appRepository;
    private _editedItemRepository;
    private _editedLayerRepository;
    private _facetService;
    private _subs;
    constructor(_appRepository: AppRepository, _editedItemRepository: EditedItemRepository, _editedLayerRepository: EditedLayerRepository, _facetService: FacetService);
    typeId?: string;
    roleId?: string;
    color?: string;
    private getTypeIdName;
    private getRoleIdName;
    private getPartColor;
    private updateLabels;
    ngOnInit(): void;
    ngOnDestroy(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<CurrentLayerPartBarComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<CurrentLayerPartBarComponent, "cadmus-current-layer-part-bar", never, {}, {}, never, never, true, never>;
}

export { CurrentItemBarComponent, CurrentLayerPartBarComponent };
