@nickbusey/thelounge
Version:
The self-hosted Web IRC client
17 lines (16 loc) • 387 B
TypeScript
export declare type ParsedStyle = {
bold?: boolean;
textColor?: string;
bgColor?: string;
hexColor?: string;
hexBgColor?: string;
italic?: boolean;
underline?: boolean;
strikethrough?: boolean;
monospace?: boolean;
text: string;
start: number;
end: number;
};
declare function prepare(text: string): ParsedStyle[];
export default prepare;