import { Context, AuthTokenResult, Password } from '../types'; export interface EnrollUserDocument { token: string; name?: string; username?: string; password: Password; } /** * Complete user registration with the help of an invite token that has been * send earlier on. */ declare function enrollUser(user: EnrollUserDocument, context: Context): Promise; export default enrollUser;