import { default as Annotation } from './annotation'; import { default as ParsedElements } from './parsed-elements'; export interface BlockTypeEntry { name: string; headline?: boolean; headlineLevel?: number; mergeToBlock?: boolean; mergeFollowingNonTypedItems?: boolean; mergeFollowingNonTypedItemsWithSmallDistance?: boolean; toText?(block: any): string; } export default class PageItem { type: BlockTypeEntry | null; annotation: Annotation | null; parsedElements: ParsedElements | null; constructor(options: { type?: BlockTypeEntry | null; annotation?: Annotation | null; parsedElements?: ParsedElements | null; }); }