/** * Get the userdata directory * */ export declare const userDataDir: () => string; /** * Purge the preference model * */ export declare const purgePreferences: () => Promise; /** * Remove the preference associated with the given key * * @return the prior value * */ export declare const clearPreference: (key: string) => Promise; /** * Get a persisted preference * * @return the preference value * */ export declare const getPreference: (key: string) => Promise; /** * Set a persisted preference * * @return the preference value * */ export declare const setPreference: (key: string, value: string) => Promise; export declare function getOrSetPreference(key: string, defaultValue: string | (() => string | Promise)): Promise;