export type SyntaxKind = "plain" | "keyword" | "string" | "comment" | "number" | "function" | "type" | "operator" | "punctuation" | "property" | "regex"; export interface SyntaxSpan { readonly kind: SyntaxKind; readonly text: string; } export interface HighlightCarry { inBlockComment: boolean; inTripleString: boolean; tripleQuote?: string | undefined; cssDepth?: number | undefined; } export declare function push(spans: SyntaxSpan[], kind: SyntaxKind, text: string): void; export declare function isIdentStart(ch: string): boolean; export declare function isIdentCont(ch: string): boolean; interface ClikeOpts { regex?: boolean; hashNumber?: boolean; lineComment?: string; caseInsensitiveKeywords?: boolean; } export declare function highlightClike(line: string, keys: Set, carry: HighlightCarry, opts?: ClikeOpts): SyntaxSpan[]; export declare function readString(line: string, start: number, quote: string, spans: SyntaxSpan[]): number; export {};