import { AxiosInstance } from "axios"; import { LoginRequest, RegisterRequest, AuthResponse } from "../types/auth.types"; /** * Auth Service – Login, Register, Logout. * Uses token-based HTTP client for authentication endpoints. */ export declare class AuthService { private readonly httpClient; constructor(httpClient: AxiosInstance); /** * Login with username and password. * * @param data - Login credentials * @returns Auth response with access_token and user info * @throws {EkycError} When login fails */ login(data: LoginRequest): Promise; /** * Register a new user account. * * @param data - Registration data * @returns Auth response with access_token and user info * @throws {EkycError} When registration fails */ register(data: RegisterRequest): Promise; /** * Logout – clears client-side token. */ logout(): Promise; } //# sourceMappingURL=authService.d.ts.map