export declare const base64ToArrayBuffer: (base64String: string) => ArrayBufferLike;
export declare const arrayBufferToBase64: (buffer: ArrayBuffer) => string;
export declare const generateRSAKeyPair: () => Promise<{
    publicKey: ArrayBuffer;
    privateKey: Uint8Array<ArrayBuffer>;
}>;
export declare const decryptAESKey: (encryptedKeyBase64: string, privateKeyPem: BufferSource) => Promise<ArrayBuffer>;
export declare const decryptImageData: (encryptedImageData: ArrayBuffer, aesKeyBuffer: ArrayBuffer, iv: string) => Promise<ArrayBuffer>;
export declare const fetchImage: (url: string) => Promise<ArrayBuffer | undefined>;
type DecryptImage = {
    encryptedKey: string;
    privateKey: BufferSource;
    iv: string;
    imageBuffer: ArrayBuffer;
};
export declare const decryptImage: ({ encryptedKey, privateKey, iv, imageBuffer, }: DecryptImage) => Promise<ArrayBuffer | undefined>;
export {};
