import type { CustomLeaf } from '../../el'; export declare const MARK_DECORATION_KEYS: readonly ["mark", "markColor", "markBg", "markLabel"]; /** 无有效正文:空串或仅空白(与 remove_text 清理逻辑一致) */ export declare const isOrphanInlineDecorationText: (text: string) => boolean; export declare const hasOrphanMarkDecoration: (leaf: CustomLeaf) => boolean; export type CodeTagTextLeaf = CustomLeaf & { text: string; }; /** * 占位 Tag(`${placeholder:…}`)解析后 `text` 常为单空格,不能按 trim 判 orphan。 */ export declare const hasOrphanTagDecoration: (leaf: CustomLeaf) => leaf is CodeTagTextLeaf; /** 空 tag 叶节点归一为普通文本(保留单空格,与 delete 路径一致) */ export declare const getOrphanTagStripProps: (_leaf: CodeTagTextLeaf) => Partial;