///
///
import * as yoga from "yoga-layout-prebuilt";
declare global {
namespace JSX {
interface IntrinsicElements {
WINDOW: React.PropsWithChildren;
}
}
}
export interface Props {
style?: React.CSSProperties;
onResize?: (size: {
w: number;
h: number;
}) => void;
onMove?: (pos: {
x: number;
y: number;
}) => void;
}
declare const _default: (p: Props) => {
element: any;
updateProps: (changes: object) => void;
applyYogaStyle: (style: import("react").CSSProperties) => void;
applyYoga: (root: {
w: number;
h: number;
} | null, func: () => void) => void;
node: yoga.YogaNode;
f: {
f: () => void;
};
appendChild: (child: any) => void;
insertChild: (child: any, beforeChild: any) => void;
removeChild: (child: any) => void;
children: any[];
};
export default _default;