import type { Inferno, InfernoNode, VNode } from './../../core/types.js'; import { ChildFlags, VNodeFlags } from 'inferno-vnode-flags'; export declare const EMPTY_OBJ: {}; export declare const Fragment: Inferno.ExoticComponent<{ children?: InfernoNode; }>; export declare function childFlagsToBit(childFlags: ChildFlags | undefined): VNodeFlags; export declare function getChildFlags(vNode: VNode): ChildFlags; /** * The move animation integration of inferno-animation. Move hook owners are class components that * have componentWillMove by the end of their mount, and function components whose hooks include * onComponentWillMove; the adapter is active while any owner is mounted. */ export interface MoveAnimationAdapter { mountClass(instance: any): void; unmountClass(instance: any): void; updateHooks(lastRef: any, nextRef: any): void; prepare(last: VNode, next: VNode, parent: Element, commit: AnimationQueues): void; prepareFragment(last: VNode, nextChildren: VNode[] | null, parent: Element, commit: AnimationQueues): void; unmountList(vNode: VNode): void; reparent(vNode: VNode, parent: Element): void; remove(parent: Element, callback: () => void): void; } export declare let moveAnimations: MoveAnimationAdapter | null; export declare let activeMoveAnimations: MoveAnimationAdapter | null; export declare function updateMoveHooks(lastVNode: VNode, nextVNode: VNode): void; export declare function setMoveAnimations(adapter: MoveAnimationAdapter, active: boolean): boolean; export declare class AnimationQueues { componentDidAppear: Array<() => void> | null; componentWillDisappear: Array<() => void> | null; } export declare const NO_ANIMATIONS: AnimationQueues; export declare function normalizeEventName(name: any): keyof DocumentEventMap; export declare function appendChild(parentDOM: any, dom: any): void; export declare function insertOrAppend(parentDOM: Element, newNode: any, nextNode: any): void; export declare function documentCreateElement(tag: any, isSVG: boolean): Element; export declare function replaceChild(parentDOM: Element, newDom: any, lastDom: any): void; export declare function removeChild(parentDOM: Element, childNode: Element): void; export declare function callAll(arrayFn: Array<() => void>): void; export declare function findDOMFromVNode(vNode: VNode, startEdge: boolean): Element | null; export declare function findElementFromVNode(vNode: VNode | null): Element | null; export declare function callAllAnimationHooks(animationQueue: Array<() => void> | null, callback?: (synchronous?: boolean) => void): void; export declare function clearVNodeDOM(vNode: VNode | null, parentDOM: Element, deferredRemoval: boolean): void; export declare function appendVNodeDOM(vNode: VNode | null, parentDOM: Element): void; export declare function deferRemoval(parent: Element, callback: () => void): () => void; export declare function removeVNodeDOM(vNode: VNode, parentDOM: Element, animations: AnimationQueues): void; export declare function moveVNodeDOM(vNode: any, parentDOM: any, nextNode: any): void; export declare function getComponentName(component: any): string; export declare function createDerivedState(instance: any, nextProps: any, state: TState): TState; export declare const renderCheck: { v: boolean; }; export declare const options: { createVNode: ((vNode: VNode) => void) | null; reactStyles?: boolean; }; export declare function setTextContent(dom: Element, children: any): void; export declare function isLastValueSameLinkEvent(lastValue: any, nextValue: any): boolean; export declare function mergeUnsetProperties(to: TTo, from: TFrom): TTo & TFrom; export declare function safeCall1(method: Function | null | undefined, arg1: any): boolean;