type AllPagesSkipConfig = { lines?: string | number[]; lastLines?: number; }; type PageSkipConfig = { page: number; lines?: string | number[]; lastLines?: number; }; type PdfConfig = { threshold?: number; lineHeight?: number; newlines?: boolean; artifacts?: boolean; password?: string; sort?: "Y1" | "Y2" | "none"; pages?: string | number[] | "all"; skip?: { global?: AllPagesSkipConfig; pageSpecific?: PageSkipConfig[]; text?: { value: string | RegExp; match?: "contain" | "startWith" | "regex" | "exact"; nextLine?: { value: string | RegExp; match: "contain" | "startWith" | "regex" | "exact"; }; }[]; ranges?: { start: { value: string | RegExp; match?: "contain" | "startWith" | "regex" | "exact"; }; end: { value: string | RegExp; match?: "contain" | "startWith" | "regex" | "exact"; }; }[]; }; }; declare const pdf: (pdfPath: string, options?: PdfConfig) => Promise<{ getText: () => string[]; getRaw: () => string[]; getPages: () => number; getTextContent: () => string[]; }>; export { pdf };