/** * PowerPoint 97-2003 Binary (.ppt) Parser * * Pure TypeScript implementation that reads .ppt files by: * 1. Using the OLE2 reader to extract the "PowerPoint Document" stream * 2. Following the UserEditAtom chain from "Current User" to find all records * 3. Locating SlideListWithText containers to extract slide text * 4. Parsing TextHeaderAtom, TextCharsAtom, and TextBytesAtom records * 5. Returning a valid OfficeParserAST with slides in presentation order * * Ported from the algorithms in: * - ref/poi/poi-scratchpad/src/main/java/org/apache/poi/hslf/ (Apache 2.0) * Specifically: HSLFSlideShow.java, HSLFSlideShowImpl.java, * HSLFTextParagraph.java, Record.java, RecordTypes.java, * TextHeaderAtom.java, TextCharsAtom.java, TextBytesAtom.java * * @module ppt */ /// import { OfficeParserAST, OfficeParserConfig } from '../../types'; /** * Parse a PowerPoint 97-2003 (.ppt) file and return an OfficeParserAST. * * @param fileBuffer - Buffer containing the .ppt file * @param config - OfficeParser configuration * @returns Parsed AST with slides containing paragraphs */ export declare function parsePpt(fileBuffer: Buffer, config: Required): Promise;