import { InlineType, CompletionResult, InlinePredictionOptions } from './types'; /** * 默认启用的行内标记类型 */ export declare const DEFAULT_INLINE_TYPES: InlineType[]; /** * 行内标记预测补全器 * 检测未闭合的行内标记并智能补全 */ export declare class InlineCompleter { private enabledTypes; constructor(options?: InlinePredictionOptions); /** * 补全未闭合的行内标记 */ complete(text: string): CompletionResult; /** * 处理行内代码标记 */ private handleCodeMarker; /** * 处理双字符标记(**, __, ~~) */ private handleDoubleMarker; /** * 处理单字符强调标记(* 或 _) */ private handleSingleEmphasis; /** * 处理链接或图片标记 */ private handleImageOrLink; /** * 在栈中查找匹配的标记 */ private findInStack; /** * 获取闭合标记 * - 链接补全为 ](#),形成可点击但无实际跳转的链接 * - 图片补全使用占位图 URL */ private getCloseMarker; /** * 更新启用的类型 */ setEnabledTypes(types: InlineType[]): void; } //# sourceMappingURL=completer.d.ts.map