import type { FountainResult, FountainToken } from "./fountain-parser.js"; export type { FountainResult, FountainToken }; /** * Extract the full text content from a PDF screenplay file. * * @param filePath - Absolute or relative path to a `.pdf` file. * @returns The concatenated plain-text content of every page. * @throws If the file cannot be read or is not a valid PDF. */ export declare function parsePdf(filePath: string): Promise; /** * Extract screenplay text from a PDF and apply format-agnostic heuristics * to produce the same `FountainResult` shape that `parseFountain` returns. * * Because PDF extraction loses explicit formatting metadata, the heuristics * are necessarily best-effort. They work well on industry-standard * screenplay PDFs (Final Draft, WriterSolo, Highland, etc.) but may * misclassify some elements in heavily stylised documents. * * @param filePath - Path to a `.pdf` screenplay file. * @returns A `FountainResult` with heuristically classified tokens. */ export declare function parsePdfToTokens(filePath: string): Promise; //# sourceMappingURL=pdf-parser.d.ts.map