import { type Block, type MarkerKind } from '@mdgate/document'; export type { MarkerKind }; /** Identity of a resolved list at one level. */ export interface ListKey { instance: number; marker: MarkerKind; } export declare function listKeysEqual(a: ListKey, b: ListKey): boolean; /** One flat, fully resolved list paragraph. */ export interface ListEntry { level: number; key: ListKey; /** Effective item number at this entry (ignored for bullets). */ number: number; label: string | undefined; blocks: Block[]; } /** Pop the accumulated run of list paragraphs into list blocks. */ export declare function flushList(blocks: Block[], run: ListEntry[]): void;