import { OnDestroy } from '@angular/core'; import { HermesObservable } from '@generic-ui/hermes'; import * as i0 from "@angular/core"; export declare class GuiState implements OnDestroy { private state; private readonly state$; private readonly destroy$; ngOnDestroy(): void; setValue(state: T): void; setValue(state: Partial): void; getValue(): T; getValue(key: K): T[K]; select(): HermesObservable; select(key: K): HermesObservable; connect(state$: HermesObservable): void; connect(key: keyof T, value$: HermesObservable): void; private setPartialState; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵprov: i0.ɵɵInjectableDeclaration>; }