import type { User } from '@unchainedshop/core-users'; import type { Modules } from '../modules.ts'; export interface AuthenticateWithPasswordParams { username?: string; email?: string; password: string; } export interface HttpContext { remoteAddress?: string; remotePort?: number; userAgent?: string; locale?: string; countryCode: string; } export declare function authenticateWithPasswordService(this: Modules, params: AuthenticateWithPasswordParams, httpContext: HttpContext, currentUserId?: string): Promise;