/**
 * Validates if the given data is tampered.
 * @param data Data to be validated. The data must be previously
 * generated by `[hashData()]`.
 * @param key Secret key that was previously used to generate the hash for the data in `[hashData()]`.
 * function to see the supported hashing algorithms on your system. This must be the same
 * as the value passed to `[hashData()]` when generating the hash for the data.
 * @param algorithm Algorithm used to generate the data
 * @return the real data with the hash stripped off. False if the data is tampered.
 * @see hashData()
 */
export declare function validateData(data: string, key: string, algorithm?: string): string | boolean;
