import { OnDestroy } from '@angular/core';
import { Observable } from 'rxjs';
import { CurrentCarbonTheme, SelectableCarbonTheme } from '../models';
import * as i0 from "@angular/core";
export declare class CdsThemeService implements OnDestroy {
    private readonly _preferredTheme$;
    private readonly _currentTheme$;
    get preferredTheme$(): Observable<SelectableCarbonTheme>;
    get currentTheme$(): Observable<CurrentCarbonTheme>;
    private readonly _subscriptions;
    constructor();
    ngOnDestroy(): void;
    setPreferredTheme(selectedTheme: SelectableCarbonTheme): void;
    private openDarkModeSubscription;
    private setThemeOnDocument;
    private getBrowserPrefersDarkModeObservable;
    static ɵfac: i0.ɵɵFactoryDeclaration<CdsThemeService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<CdsThemeService>;
}
//# sourceMappingURL=cds-theme.service.d.ts.map