import { ConditionalCheck, Context, Request } from "stentor-models"; /** * Returns true if the user has linked an account, false if they have not. * * @param request - Request to check */ export declare function hasLinkedAccount(request: Request): boolean; /** * Returns true if the user is new. * * This will be true for the duration of the user's first session, not just * the first interaction. * * It looks for the session storage key SESSION_STORAGE_NEW_USER = "new_user" to exist and be true. * * @param context */ export declare function isNewUser(context: Context): boolean; /** * Checks if the request is for the provided platform. * * @param request * @param platform */ export declare function isPlatform(request: Request, platform: string): boolean; /** * Checks the storage if the value at the provided key is equal to the provided value. * * @param context * @param key * @param value */ export declare function storageEquals(context: Context, key: string, value: string | number | boolean): boolean; /** * Checks the session storage if the value at the provided key is equal to the provided value. * * @param context * @param key * @param value */ export declare function sessionStorageEqual(context: Context, key: string, value: string | number | boolean): boolean; /** * Returns a system conditional check * * @param request - Request to perform the checks on */ export declare function SystemConditionalCheck(request: Request, context: Context): ConditionalCheck;