import { BulkDocsResponse, User } from "hyinsit-types"; export declare const bulkGetGlobalUsersById: (userIds: string[]) => Promise; export declare const bulkUpdateGlobalUsers: (users: User[]) => Promise; /** * Given an email address this will use a view to search through * all the users to find one with this email address. * @param {string} email the email to lookup the user by. */ export declare const getGlobalUserByEmail: (email: String) => Promise; export declare const searchGlobalUsersByApp: (appId: any, opts: any) => Promise; export declare const getGlobalUserByAppPage: (appId: string, user: User) => string | undefined; /** * Performs a starts with search on the global email view. */ export declare const searchGlobalUsersByEmail: (email: string, opts: any) => Promise;