UNPKG

office-text-extractor-browser

Version:

Fork of office-text-extractor with unreleased changes that include browser support

16 lines (15 loc) 476 B
import { type Buffer } from 'buffer/'; import type { TextExtractionMethod } from '../lib.js'; export declare class ExcelExtractor implements TextExtractionMethod { /** * The type(s) of input acceptable to this method. */ mimes: string[]; /** * Extract text from a Excel file if possible. * * @param payload The input and its type. * @returns The text extracted from the input. */ apply: (input: Buffer) => Promise<string>; }