import React, { Component, ContextType, ReactNode } from "react"; import { Entity as _Entity } from "tick-knock"; import { ECSContext } from "./ECS"; export declare type EntityProps = { entity?: _Entity; }; export declare class Entity extends Component { static contextType: React.Context; context: ContextType; entity: _Entity; constructor(props: { children: ReactNode; }); componentDidMount(): void; componentWillUnmount(): void; render(): JSX.Element; }