import type { User, UserRegistrationData } from '@unchainedshop/core-users'; import type { Modules } from '../modules.ts'; export interface HttpContext { remoteAddress?: string; remotePort?: number; userAgent?: string; locale?: string; countryCode: string; } export interface RegisterUserResult { user: User; isFirstUser: boolean; } export declare function registerUserService(this: Modules, params: UserRegistrationData, httpContext: HttpContext): Promise;