// Content/classes.ts import {ESlateVisibility} from "./enums.js"; import type {Text} from "./types.js"; export class Widget { public AddToViewport(): void { // Logic to add the widget to the viewport } public SetVisibility(visibility: ESlateVisibility): void { // Logic to set the visibility of the widget } } export class TextBox { private Text: Text = ""; public SetText(NewText: Text): void { this.Text = NewText; } }