import { MergedServerContext } from "../../shared/types/PluginResolver";
declare const _default: {
    Query: {
        userById: (_obj: any, args: any, { models, user }: MergedServerContext) => Promise<import("../../shared/types/User").UserDB | null>;
        paginateUsers: (_obj: any, { size, page }: {
            size: any;
            page: any;
        }, { models, user }: MergedServerContext) => Promise<unknown>;
    };
    Mutation: {
        userEdit: (_obj: any, args: any, { models, user }: MergedServerContext) => Promise<import("../../shared/types/User").UserDB>;
        userUpdate: (_obj: any, args: any, { models, user }: MergedServerContext) => Promise<import("../../shared/types/User").UserDB>;
        userRegister: (_obj: any, args: any, { models, notify }: MergedServerContext) => Promise<import("../../shared/types/User").UserDB>;
        userAuthenticate: (_obj: any, args: any, { models, eventEmitter, res, req }: MergedServerContext) => Promise<any>;
        userTokenRefresh: (_obj: any, _args: any, { req, res, models }: MergedServerContext) => Promise<any>;
        userVerify: (_obj: any, { email, token }: any, { models }: MergedServerContext) => Promise<import("../../shared/types/User").UserDB>;
        userCreate: (_obj: any, args: any, { models, user }: MergedServerContext) => Promise<import("../../shared/types/User").UserDB>;
        userUpdatePassword: (_obj: any, args: any, { user, models, notify }: MergedServerContext) => Promise<Boolean>;
        /**
         * To prevent bots from scanning we dont indicate wether the account exists
         * or not but instead just return success.
         */
        userRequestPasswordReset: (_obj: any, { email }: any, { models, notify }: MergedServerContext) => Promise<boolean>;
        userResetPassword: (_obj: any, { token, resetInput }: any, { models, notify }: MergedServerContext) => Promise<boolean>;
        me: (_obj: any, _args: any, { user }: MergedServerContext) => Promise<import("../../shared/types/User").UserDB>;
    };
};
/**
 *
 *
 * Our resolvers for this plugin
 */
export default _default;
