import { default as Page } from './page'; export interface ParseGlobals { mostUsedHeight?: number; mostUsedFont?: string; mostUsedDistance?: number; maxHeight?: number; maxHeightFont?: string; fontToFormats?: Map; tocPages?: number[]; headlineTypeToHeightRange?: Record; } export default class ParseResult { pages: Page[]; globals: ParseGlobals; messages: string[]; constructor(options: { pages?: Page[]; globals?: ParseGlobals; messages?: string[]; }); }