import { TSetup, TRect, TObservable } from '../../types/core.js'; declare class View { #private; listenersAC: AbortController; type: string; children: View[]; parent?: View; refs: Record; node: HTMLElement | DocumentFragment; attrs: TObservable; props: TObservable; state: TObservable; resizeObserver?: ResizeObserver; constructor({ attrs, props, state, styles, classes, type, content, children }?: TSetup); getContent(): string | null; setContent(content: string): void; getFullRect(): DOMRect | undefined; getRect(): { x: number; y: number; width: number; height: number; } | null; setRect(rect: TRect): void; onMount(): void; onUnmount(): void; onLayout(rect: TRect): void; onProps(key: string, current: any, previous: any, operation: string): void; onState(key: string, current: any, previous: any, operation: string): void; onAttr(key: string, current: any, previous: any, operation: string): void; onChildMount(child: View): void; remove(): void; append(...views: View[]): this; prepend(...views: View[]): this; appendTo(view: View): this; replaceWith(view: View): this | undefined; addSibling(view: View): this | undefined; addClass(...classes: string[]): this; removeClass(...classes: string[]): this; clear(): this; destroy(): void; } export default View;