import { Widget } from "./Widget"; import { DynamicValue } from "../../DynamicValue"; /** * A [[Widget]] to display a [[DynamicValue]] holding a string * * @example * ```jsx * new DynamicText({text:new TextValue("test")}) * //JSX * * ``` */ export declare class DynamicText implements Widget { text: DynamicValue; __variant__: string; constructor({ text }: { text: DynamicValue; }); static fromJSON(json: { text: any; }): DynamicText; }