/// <reference types="node" />
export declare class Cipher {
    private static readonly KEY_LENGTH;
    private static readonly keyRegex;
    private key;
    constructor(key: string | Buffer);
    encrypt(text: string): string;
    decrypt(encoded: string): string;
}
