///
import type { KeyObject } from 'crypto';
import type { EncryptDecryptAlgorithmParams } from '../types';
import type { EncryptOptions } from './types';
declare function encrypt(plaintext: string, key: string | KeyObject, algorithm: EncryptDecryptAlgorithmParams, options: EncryptOptions & {
ciphertextFormat: 'hex';
}): Promise;
declare function encrypt(plaintext: string, key: string | KeyObject, algorithm: EncryptDecryptAlgorithmParams, options: EncryptOptions & {
ciphertextFormat: 'base64';
}): Promise;
declare function encrypt(plaintext: string, key: string | KeyObject, algorithm: EncryptDecryptAlgorithmParams, options: EncryptOptions & {
ciphertextFormat: 'buffer';
}): Promise;
declare function encrypt(plaintext: string, key: string | KeyObject, algorithm: EncryptDecryptAlgorithmParams, options: EncryptOptions): Promise;
declare function encrypt(plaintext: string, key: string | KeyObject, algorithm: EncryptDecryptAlgorithmParams): Promise;
export default encrypt;