import type { Component } from '../core/component'; import { VNodeComponentClass, IntactDom } from 'misstime'; import { ChangeTrace } from 'intact-shared'; import { LifecycleEvents } from '../utils/types'; export declare type InternalLifecycleTrigger, T extends Component> = (name: K, ...args: Parameters[K]>) => void; export declare const nextTick: ((callback: Function) => Promise) | ((callback: Function) => number); export declare function renderSyncComponnet

(component: Component

, lastVNode: VNodeComponentClass> | null, nextVNode: VNodeComponentClass>, parentDom: Element, anchor: IntactDom | null, mountedQueue: Function[]): void; export declare function renderAsyncComponent

(component: Component

, lastVNode: VNodeComponentClass> | null, nextVNode: VNodeComponentClass>, parentDom: Element, anchor: IntactDom | null, mountedQueue: Function[]): void; export declare function updateSyncComponent

(component: Component

, lastVNode: VNodeComponentClass>, nextVNode: VNodeComponentClass>, parentDom: Element, anchor: IntactDom | null, mountedQueue: Function[], force: boolean): void; export declare function updateAsyncComponent

(component: Component

, lastVNode: VNodeComponentClass>, nextVNode: VNodeComponentClass>, parentDom: Element, anchor: IntactDom | null, mountedQueue: Function[], force: boolean): void; export declare function componentInited

(component: Component

, triggerReceiveEvents: Function | null): void; export declare function mountProps

(component: Component

, nextProps: P): () => void; export declare function patchProps

(component: Component

, lastProps: P, nextProps: P, defaultProps: Partial

): void; export declare function patchProp

(component: Component

, props: P, prop: keyof P, lastValue: any, nextValue: any, changeTraces: ChangeTrace[]): void; export declare function setProps

(component: Component

, newProps: P): void; export declare function forceUpdate

(component: Component

, callback?: Function): void; export declare function DEV_callMethod(component: Component, method: Function, lastVNode: VNodeComponentClass, nextVNode: VNodeComponentClass): void;