import { CryptoKey } from '../types.d.cjs';

declare function wrap(alg: string, key: CryptoKey | Uint8Array, cek: Uint8Array, p2c?: number, p2s?: Uint8Array): Promise<{
    encryptedKey: Uint8Array<ArrayBuffer>;
    p2c: number;
    p2s: string;
}>;
declare function unwrap(alg: string, key: CryptoKey | Uint8Array, encryptedKey: Uint8Array, p2c: number, p2s: Uint8Array): Promise<Uint8Array<ArrayBuffer>>;

export { unwrap, wrap };
