import { Node } from '../Node'; import type { NodeOptions } from '../types'; export declare class Group extends Node { children: Node[]; /** When true, subtree is cached to offscreen bitmap when static. */ cacheAsBitmap: boolean; constructor(options?: NodeOptions); add(...nodes: Node[]): this; remove(node: Node): this; clear(): this; getChildById(id: string): Node | undefined; sortChildren(): void; containsPoint(_localX: number, _localY: number): boolean; getBounds(): { x: number; y: number; width: number; height: number; }; draw(ctx: unknown): void; toJSON(): { children: import("../types").SceneJSON[]; type: string; id?: string; props?: Record; theme?: import("..").ThemePack; }; } export declare class Layer extends Group { constructor(options?: NodeOptions); }