import { TextBlock } from "../GRichTextField"; export declare type UBBParserHandlerMap = { [key: string]: (tag: string, end: boolean, attr: string) => string; }; export declare class UBBParser { private $text; private $readPos; protected $handlers: UBBParserHandlerMap; smallFontSize: number; normalFontSize: number; largeFontSize: number; defaultImgWidth: number; defaultImgHeight: number; static inst: UBBParser; constructor(); protected onTag_URL(tagName: string, end: boolean, attr: string): string; protected onTag_IMG(tagName: string, end: boolean, attr: string): string; protected onTag_Simple(tagName: string, end: boolean, attr: string): string; protected onTag_COLOR(tagName: string, end: boolean, attr: string): string; protected onTag_FONT(tagName: string, end: boolean, attr: string): string; protected onTag_SIZE(tagName: string, end: boolean, attr: string): string; protected getTagText(remove?: boolean): string; parseStyle(text: string): TextBlock[]; }