StructuredText
class StructuredText extends Userdata<"fz_stext_page"> { }
asHTML(id: number): string;
asJSON(scale?: number): string;
asText(): string;
copy(p: Point, q: Point): string;
highlight(
p: Point,
q: Point,
max_hits?: number,
): Quad[];search(needle: string, max_hits?: number): Quad[][];
walk(walker: StructuredTextWalker): void;
static readonly SELECT_CHARS: number;
static readonly SELECT_LINES: number;
static readonly SELECT_WORDS: number;