import type { ElementLifecycle } from "../../element-extender"; import type { GjsElement } from "../../gjs-element"; import type { TextNode } from "../../gtk3/text-node"; export declare class TextChildController { private element; private setWidgetText; private previousText; private children; constructor(element: ElementLifecycle, setWidgetText: (text: string) => void); private getText; update(): void; count(): number; addChild(child: TextNode): void; removeChild(child: TextNode | GjsElement): void; insertBefore(newChild: TextNode, beforeChild: GjsElement | TextNode): void; }