/** * Shared utility functions for PDF reader modules. */ import type { PdfDocument } from "./pdf-document.js"; import type { PdfDictValue } from "./pdf-parser.js"; /** * Safely extract a string value from a PDF dictionary entry. * Handles both name strings and Uint8Array PDF strings (with BOM/encoding detection). * * @param dict - The PDF dictionary * @param key - The key to look up * @param doc - The PDF document for resolving indirect references * @returns The string value, or empty string if not found or not a string */ export declare function getDictStringValue(dict: PdfDictValue, key: string, doc: PdfDocument): string;