import { ByteArray } from '../types.js'; /** * Encodes a JavaScript string to PDFDocEncoding bytes. * * PDFDocEncoding is the default encoding for PDF strings: * - Bytes 0-127: Standard ASCII * - Bytes 128-159: Special Unicode characters (see PDF spec) * - Bytes 160-255: ISO Latin-1 (ISO 8859-1) * * @param str - The string to encode. * @returns The encoded byte array. * * @example * ```typescript * // Encode "Hello" (ASCII) * encodeToPDFDocEncoding('Hello') * * // Encode with special character (bullet → 0x80) * encodeToPDFDocEncoding('H•i') * ``` */ export declare function encodeToPDFDocEncoding(str: string): ByteArray;