import { Config } from '../common-types'; export declare class Crypto { private controller; static readonly salt: string; constructor(key: string); encrypt(text: string): string; decrypt(encrypted: string): any; } export declare const decrypt: (config: Config) => Config; export declare const encrypt: (config: Config) => Config;