UNPKG

office-text-extractor-browser

Version:

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

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