import { IElementContext } from './hooks.js'; import { ETargetPlatform, EElementType } from './types.js'; export interface IAppxOptions { data: Record; options: Record; methods?: Record void>; [handlerName: string]: any; } export type TElementFunction = (props: TProps) => { [axmlKey: string]: any; }; export interface IInstanceMap { [id: string]: { appxContext: IElementContext; appxId: string; elementFn: any; elementInstance?: any; pendingProps: any; unmounted: boolean; propKeys: string[]; }; } export declare function flushReactTree(elementMap: IInstanceMap): import("preact").VNode | null>; export interface ElementOption { options?: any; } export declare function functionalMiniElement(element: TElementFunction, displayName: string | undefined, elementType: EElementType, defaultProps?: TProps, _targetPlatform?: ETargetPlatform, elementOption?: ElementOption): Record;