import crypto from 'crypto';

declare const _default: "@meg-shit/aes-256-ecb-js";

interface Options {
    inputEncoding: BufferEncoding;
    outputEncoding: BufferEncoding;
    autoPadding: boolean;
    padding: string;
}
declare function createDecipher(key: string): crypto.Decipher;
declare function createCipher(key: string): crypto.Cipher;
declare function encrypt(data: string, key: string, options?: Partial<Options>): string;
declare function decrypt(data: string, key: string, options?: Partial<Options>): string;

export { Options, createCipher, createDecipher, decrypt, _default as default, encrypt };
