7 lines
546 B
TypeScript
7 lines
546 B
TypeScript
import type { CharSpan } from "./finder.js";
|
||
import type { RenderContext } from "../types.js";
|
||
/** span 按逆文件序處理,來源 offset 不受後方切分影響。outer/inner 須為本 pass 新產物。 */
|
||
export declare function wrapCrossAtom(span: CharSpan, outer: HTMLElement, inner: HTMLElement, pass: string, ctx: RenderContext): void;
|
||
/** 局部回退也涵蓋原子之另一端;只還原私有記錄,不採信可偽造的作者屬性。 */
|
||
export declare function revertCrossAtoms(pass: string, ctx: RenderContext): Set<Node>;
|