UNPKG

@bader-nasser/pdftools

Version:

PDF tools to manipulate and process PDF files

18 lines (17 loc) 784 B
import { type Metadata } from './commands/process/index.js'; export declare function isUndefinedOrEmptyString(value: string | undefined): boolean; export declare function removeExtension(string_: string, extension?: string): string; export declare function addExtension(string_: string, extension?: string): string; export declare function pad(number: string): string; type ParsedData = { all: string[]; shared: string[]; error: unknown; }; export declare function parseDataFile(dataFile: string): Promise<ParsedData>; export declare function updateMetadata({ filePath, meta: { title, author, subject, keywords, producer, creator, creationDate, modificationDate, }, dryRun, }: { filePath: string; meta: Metadata; dryRun: boolean; }): Promise<void>; export {};