import { ByteArray } from '../../types.js'; /** * Generates the /U and /UE values for AES-256 PDF encryption. * These values are used to validate the user password and decrypt the file key. * * @param password - The user password. * @param fileKey - The 32-byte file encryption key. * @returns A promise that resolves to an object containing the 48-byte U and 32-byte UE values. * * @example * ```typescript * const { U, UE } = await generateUandUe(password, fileKey) * ``` */ export declare function generateUandUe(password: ByteArray, fileKey: ByteArray): Promise<{ U: ByteArray; UE: ByteArray; }>; /** * Generates the /O and /OE values for AES-256 PDF encryption. * These values are used to validate the owner password and decrypt the file key. * * @param password - The owner password. * @param U - The 48-byte /U value (required for owner key derivation). * @param fileKey - The 32-byte file encryption key. * @returns A promise that resolves to an object containing the 48-byte O and 32-byte OE values. * * @example * ```typescript * const { O, OE } = await generateOandOe(ownerPassword, U, fileKey) * ``` */ export declare function generateOandOe(password: ByteArray, U: ByteArray, fileKey: ByteArray): Promise<{ O: ByteArray; OE: ByteArray; }>;