import { ByteArray } from '../types.js'; /** * Encodes a string as UTF-16BE with BOM for PDF * * PDF strings can use UTF-16BE encoding to represent Unicode characters. * The encoding must start with the UTF-16BE BOM (0xFE 0xFF) to be recognized. * * @param str - The string to encode * @returns Byte array with UTF-16BE BOM followed by the encoded string * * @example * ```typescript * encodeAsUTF16BE('PROSZĘ') * // Returns Uint8Array([0xFE, 0xFF, 0x00, 0x50, 0x00, 0x52, ...]) * ``` */ export declare function encodeAsUTF16BE(str: string): ByteArray;