///
import { KeyObject } from 'crypto';
import type { EncryptDecryptAlgorithmParams } from '../types';
import type { DecryptOptions } from './types';
export default function decrypt(ciphertext: string | Buffer, key: string | KeyObject, algorithm: EncryptDecryptAlgorithmParams, options?: DecryptOptions): Promise;