import type { PDFDocumentProxy, PDFPageProxy } from 'pdfjs-dist/types/src/display/api'; import { MarkRecord } from './mark-record'; /** * Specify additional options for the extraction process. */ export interface ExtractionOptions { /** * Whether to merge close items together or not (defaults to `false` as of v3.0.0). */ mergeItems?: boolean; } /** * Extracts marks records from a loaded PDF page. * * @param page The target PDF page. * @param options Additional options for the extraction process. (for example to enable back the merging functionality) * @returns The extracted marks records. */ export declare function extractMarksFromPage(page: PDFPageProxy, options?: ExtractionOptions): Promise; /** * Extracts marks records from a loaded PDF document. * * @param document The target PDF document. * @param options Additional options for the extraction process. (for example to enable back the merging functionality) * @returns The extracted marks records. */ export declare function extractMarksFromDocument(document: PDFDocumentProxy, options?: ExtractionOptions): Promise; export { SimpleTextItem } from './simple-text-item'; export { MarkRecord } from './mark-record'; export { getTextItems } from './document-parser'; export { simplifyTextItem, filterAndSimplifyTextItems } from './items-simplifier'; export { mergeCloseSimpleTextItems } from './items-merger'; export { groupIntoRows } from './items-shaper'; export { extractMarksFromItemsTable } from './marks-extractor'; //# sourceMappingURL=index.d.ts.map