export class SlangSurfacePermaText extends Component { static getRandomHelpText(helpTexts: any): string | null; static getRandomUiHint(uiHints: any): string | null; static getDerivedStateFromProps(nextProps: any, prevState: any): { helpText: string | null; }; constructor(props: any); ref: import("preact").RefObject; state: { helpText: null; isScrolling: boolean; clientX: number; scrollX: number; }; hintsList: any; onMouseDown: (e: any) => void; onMouseUp: (e: any) => void; onMouseMove: (e: any) => void; componentDidMount(): void; setRandomHelpText: () => void; render(props: any, state: any): h.JSX.Element; } import { Component } from "preact"; import { h } from "preact";