import type { ParentTrait } from "./parent.js"; /** * @category Child */ export declare function isChild(entity: unknown): entity is ChildTrait; /** * **Important trait** * * Entity can become a child of any other container/parent. * * @category Trait */ export declare class ChildTrait { /** * @category ChildTrait */ parent: ParentTrait; /** * @category ChildTrait */ idx: number; /** * Points out if this element can be target of any interaction * * @category ChildTrait */ isInteractive(): boolean; /** * @category ChildTrait * @returns array of indexes for this entity access */ get idxPath(): number[]; }