///
import { Subject } from 'rxjs';
import { CommonStyleProps } from './types';
export declare const api: Readonly<{
getInitialTree: () => Promise<{
id: any;
type: any;
reactId: string | void;
children: any;
}>;
renderInstance: (type: any, _node: any, props: any, tempNode: any) => Promise;
appendToContainer: (_parentNode: any, _childNode: any) => Promise;
insertToContainer: (_parentNode: any, _newChildNode: any, _beforeChildNode: any) => Promise;
listAvailableFontsAsync: () => Promise;
loadFontAsync: (fontName: any) => Promise;
remove: (_childNode: any) => Promise;
getTreeForYoga: (_instance: any) => Promise<{
width: any;
height: any;
style: any;
children: any;
reactId: string | void;
nodeBatchId: string;
}>;
findNodeByName: (_node: any, name: any) => Promise<{
id: any;
type: any;
reactId: string | void;
children: any;
}>;
createImage: (data: any) => Promise;
setCurrentPage: (_node: any) => Promise;
highlightNativeElement: (_node: any) => Promise;
importStyleByKeyAsync: (key: string) => Promise;
createOrUpdatePaintStyle: (properties: {
paints: symbol | void | readonly Paint[];
params: CommonStyleProps;
}) => Promise;
createOrUpdateTextStyle: (properties: {
textProperties: any;
params: CommonStyleProps;
loadedFont: any;
}) => Promise;
createOrUpdateEffectStyle: (properties: {
effects: symbol | void | readonly Effect[];
params: CommonStyleProps;
}) => Promise;
}>;
export declare const setupMainThread: () => void;
export declare const $currentPageTempId: Subject;
export declare const $selectionReactIds: Subject;
export declare const $updateYogaReactId: Subject;
export declare const $bindReactIdWithNodeId: Subject<[string, string]>;
export declare const uiApi: Readonly<{
currentPageChange: (reactId: any) => Promise;
selectionChange: (reactIds: any) => Promise;
updateYogaNode: (reactId: any) => Promise;
bindReactIdWithNode: (reactId: any, nodeId: any) => Promise;
}>;