declare module 'crypto-js' {
  export const MD5: (message: string) => string;
  export const SHA256: (message: string) => string;
  export const AES: {
    encrypt: (message: string, key: string) => {
      toString: () => string;
    };
    decrypt: (ciphertext: string, key: string) => {
      toString: (encoding: 'utf8') => string;
    };
  };
  export const enc: {
    Utf8: {
      parse: (str: string) => any;
      stringify: (wordArray: any) => string;
    };
    Hex: {
      parse: (str: string) => any;
      stringify: (wordArray: any) => string;
    };
    Base64: {
      parse: (str: string) => any;
      stringify: (wordArray: any) => string;
    };
  };
}