/** * Excel 97-2003 Binary (.xls) Parser — BIFF8 Format * * Pure TypeScript implementation that reads .xls files by: * 1. Using the OLE2 reader to extract the "Workbook" stream * 2. Parsing BIFF8 records (4-byte header: type + length, followed by data) * 3. Building a Shared String Table (SST) for text lookups * 4. Extracting sheet names, rows, and cell values * 5. Returning a valid OfficeParserAST * * Ported from the algorithms in: * - ref/poi/poi/src/main/java/org/apache/poi/hssf/ (Apache 2.0, Java HSSF) * Specifically: HSSFWorkbook.java, RecordFactory.java, SSTRecord.java, * BoundSheetRecord.java, LabelSSTRecord.java, NumberRecord.java * * @module xls */ /// import { OfficeParserAST, OfficeParserConfig } from '../../types'; /** * Parse an Excel 97-2003 (.xls) file and return an OfficeParserAST. * * @param fileBuffer - Buffer containing the .xls file * @param config - OfficeParser configuration * @returns Parsed AST with sheets, rows, and cells */ export declare function parseXls(fileBuffer: Buffer, config: Required): Promise;