UNPKG

@sarahisweird/hmoog

Version:

Out-of-game automation for Hackmud

18 lines (17 loc) 447 B
import { Node } from './types.js'; declare const charReplacements: { '\u00AB': string; È: string; É: string; }; export declare const isReplaceable: (c: string) => c is (keyof typeof charReplacements); export declare class ShellParser { private str; constructor(input: string); static parse(input: string): Node[]; parseAll(): Node[]; private parseTag; private parseEndTag; private parseText; } export {};