export interface ExtractedPaper { /** File name without extension */ title: string; /** Full concatenated text of the paper */ text: string; /** Number of pages */ pages: number; /** Approximate word count */ words: number; /** Detected section headings (academic headers) */ sections: string[]; } /** * Extract full text from a PDF file using pdf-parse v2. * Throws if the file cannot be read or parsed. */ export declare function extractPaper(pdfPath: string): Promise;