import type { DocTextStyle } from './types'; /** 二进制 DOC 的单级列表格式。 */ type DocListLevel = { /** 当前范围的起始位置。 */ start: number; /** 源文件的格式标识。 */ format: number; /** 文本内容。 */ text: string; /** 列表编号与正文之间使用的后缀类型。 */ suffix: 'tab' | 'space' | 'nothing'; /** 列表级别声明的悬挂缩进等段落布局。 */ style?: DocTextStyle; }; /** 二进制 DOC 列表定义、覆盖实例与当前计数状态。 */ export type DocNumberingCatalog = { /** 按列表标识索引的多级编号定义。 */ lists: Map; /** 各列表实例引用的列表定义标识。 */ instanceListIds: number[]; /** 按列表实例保存的各级当前计数器。 */ counters: Map; }; /** 从 FIB 指向的 PlfLst 与 PlfLfo 读取列表格式。 */ export declare function readDocNumberingCatalog(tableStream: Uint8Array, fcPlfLst: number, lcbPlfLst: number, fcPlfLfo: number, lcbPlfLfo: number): DocNumberingCatalog; /** 推进列表实例状态并返回当前段落的编号前缀。 */ export declare function nextDocNumberPrefix(catalog: DocNumberingCatalog, listId: number, levelIndex: number): { text: string; suffix: "tab" | "space" | "nothing"; style: DocTextStyle | undefined; } | undefined; export {};