declare const _default: {
    /**
     * clones a validated config object. this will automatically decrypt or encrypt those attributes defined as secret.
     *
     * @param config - the object to validate
     * @param attributes - attribute object to validate config against
     * {NAME: {name: [attribute name] secret: [true if the field should be encrypted.]}}
     * @param encrypt - See Crypto.js
     * @returns {Promise.<*>}
     */
    getCleanObject(config: any, attributes: any, encrypt: any): Promise<{}>;
};
export = _default;
