import type Gtk from "gi://Gtk"; import type { GjsContext } from "../../reconciler/gjs-renderer"; import type { HostContext } from "../../reconciler/host-context"; import { BaseElement, type GjsElement } from "../gjs-element"; import type { DiffedProps } from "../utils/element-extenders/map-properties"; export declare class TextNode extends BaseElement { protected text: string; static getContext(currentContext: HostContext): HostContext; readonly kind = "TEXT_NODE"; protected get widget(): Gtk.Widget; protected isVisible: boolean; protected parent: GjsElement | null; protected readonly lifecycle: null; protected readonly handlers: null; protected readonly propsMapper: null; constructor(text: string); updateProps(): void; appendChild(): void; insertBefore(): void; remove(parent: GjsElement): void; render(): void; notifyWillMountTo(parent: GjsElement): true; notifyMounted(): void; notifyChildWillUnmount(): void; show(): void; hide(): void; diffProps(): DiffedProps; getText(): string; updateText(text: string): void; }