/**
 * Save data locally asynchronously.
 *
 * @param {string} directory - The directory to save the file.
 * @param {string} data - The data to be saved.
 * @param {void} callback - The callback function
 * @returns
 */
export declare const saveDataLocallyAsync: (directory: string, data: string, callback: (error: any) => void) => void;
/**
 * Save data locally synchronously.
 *
 * @param {string} directory - The directory to save the file.
 * @param {string} data - The data to be saved.
 * @returns
 */
export declare const saveDataLocallySync: (directory: string, data: string) => void;
/**
 * Retrieve data locally asynchronously.
 *
 * @param {string} directory - The directory the data saved in.
 * @param {void} callback - Callback function.
 * @returns
 */
export declare const retrieveDataLocallyAsync: (directory: string, callback: (error: any | null, data: any) => void) => void;
/**
 * Retrieve data locally synchronously.
 *
 * @param {string} directory - The directory the data saved in.
 * @returns
 */
export declare const retrieveDataLocallySync: (directory: string) => any;
