import type { IArcGISContext } from "../types/IArcGISContext";
import { IUserSiteSettings } from "./IUserSiteSettings";
import { IUserHubSettings } from "./IUserHubSettings";
/**
 * Store User settings in the Site App's cache
 * @param settings
 * @param context
 * @param replace
 * @returns
 */
export declare function updateUserSiteSettings(settings: IUserSiteSettings, context: IArcGISContext, replace?: boolean): Promise<void>;
/**
 * Fetch the user's settings for the current Site
 * @param context
 * @returns
 */
export declare function fetchUserSiteSettings(context: IArcGISContext): Promise<IUserSiteSettings>;
/**
 * Store the current user's Hub settings as a User App Resource
 * @param settings
 * @param context
 * @param replace
 * @returns
 */
export declare function updateUserHubSettings(settings: IUserHubSettings, context: IArcGISContext, replace?: boolean): Promise<void>;
/**
 * Fetch the current user's settings for ArcGIS Hub
 * Will return null if the hubforarcgis token is not available
 * @param context
 * @returns
 */
export declare function fetchUserHubSettings(context: IArcGISContext): Promise<IUserHubSettings | null>;
