import { OnDestroy } from '@angular/core';
import { Observable } from 'rxjs';
import { ContentDensityStorage } from '../classes/abstract-content-density-storage';
import { ContentDensityMode } from '../types/content-density.mode';
import * as i0 from "@angular/core";
/**
 * Service for managing global content density state.
 */
export declare class GlobalContentDensityService implements OnDestroy {
    private _storage;
    /**
     * Current content density.
     */
    currentContentDensity: ContentDensityMode;
    /** @hidden */
    private _subscription;
    /** @hidden */
    constructor(_storage: ContentDensityStorage);
    /** Listen to current content density changes */
    contentDensityListener(): Observable<ContentDensityMode>;
    /** Update content density */
    updateContentDensity(density: ContentDensityMode): Observable<void>;
    /** @hidden */
    ngOnDestroy(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<GlobalContentDensityService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<GlobalContentDensityService>;
}
