import { BehaviorSubject, Observable } from "rxjs"; import { LifecycleBase } from "./misc"; import { RXObjectAttributes } from "./model"; export declare class RXObject extends LifecycleBase { protected readonly _attributes$: BehaviorSubject; readonly attributes$: Observable; protected set attributes(value: TAttributes); get attributes(): TAttributes; constructor(attrs: TAttributes); onInit(): Promise; setAttribute(name: T, value: TAttributes[T] | null | undefined, onlyIfChanged?: boolean): void; patchAttributes(attrs: Partial): void; updateAttributes(update: TAttributes): void; }