import { type CleanupEventType } from "../Mutables/events/events"; export declare class Component extends HTMLElement { private _props; _propsFn: () => Record; private _name; private _view; private _templateFn; private _hasMounted; private _renderScheduled; _xviewRender: () => void; componentId: number; cleanups: Map; scopes: Map any, () => any>; /** useState instances registered on this component (for devtools inspection) */ _useStates: { state: any; atom: any; }[]; addScope(scopeClass: new () => any, scope: any): void; lastVersion: number; /** DOM nesting depth (number of x-x ancestors). Used by RenderScheduler to sort parent-first. */ _depth: number; /** Nearest x-x ancestor (set during connectedCallback depth walk). */ _parentComponent: Component | null; /** * All x-x ancestors from root down to the direct parent (inclusive). * Built in connectedCallback; rebuilt on DOM moves. * Enables O(1) ancestor lookup in RenderScheduler.schedule() to skip * scheduling a descendant when an ancestor is already pending — the ancestor's * render will cascade set props down to this component. */ _ancestorSet: Set; /** Flush-cycle stamp set by _render(). Used by RenderScheduler to deduplicate. */ _renderVersion: number; /** Error handlers registered via onError(). */ _errorHandlers: ((error: unknown) => void)[]; /** When non-null, the component is in error state and skips re-renders. */ _errorState: unknown; onEachUpdateCallbacks: Set<() => void>; onEachUpdate(callback: () => void): void; DOMReadyEvent: null | CleanupEventType; PaintEvent: null | CleanupEventType; /** Component display name; reflected as the `name` HTML attribute on ``. */ get name(): string; set name(value: string); constructor(); set props(val: Record); get props(): Record; oldView: any; private _isViewLoading; /** * When the view reference changes, store it, update the backing field, and * reset mount state so the next render re-initialises. * * Scenario 2: element stays in DOM but internal component changes. * We run a synchronous teardown of reactive state so the outer function * re-runs on the next render. */ private _applyViewChange; set view(val: any); get view(): any; callOnEachUpdate(): void; connectedCallback(): void; disconnectedCallback(): void; private _onRequestParentScope; addToCleanUps(key: any, cleanup: Function): void; _render(): void; private _mountComponent; _hotRefresh(): void; private _handleRenderError; } //# sourceMappingURL=x-x.d.ts.map