import { OnDestroy } from '@angular/core';
import { ScopeRegister as RelationsScopeRegister } from '@anglr/dynamic/relations-editor';
import { Subscription } from 'rxjs';
import { LayoutComponentsRegister } from '../layoutComponentsRegister/layoutComponentsRegister.service';
import { LayoutManager } from '../layoutManager/layoutManager.service';
import * as i0 from "@angular/core";
/**
 * Service that is used for obtaining existing scopes from layout
 */
export declare class ScopeRegister extends RelationsScopeRegister implements OnDestroy {
    protected layoutManager: LayoutManager;
    protected componentRegister: LayoutComponentsRegister;
    /**
     * Subscriptions created during initialization
     */
    protected initSubscriptions: Subscription;
    constructor(layoutManager: LayoutManager, componentRegister: LayoutComponentsRegister);
    /**
     * Called when component is destroyed
     */
    ngOnDestroy(): void;
    /**
     * Gets available scopes
     */
    protected getScopes(): Promise<void>;
    static ɵfac: i0.ɵɵFactoryDeclaration<ScopeRegister, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<ScopeRegister>;
}
//# sourceMappingURL=scopeRegister.service.d.ts.map