import { Observable } from 'rxjs'; import { LoginRequest, LoginResponse } from '../models/api-response.model'; import * as i0 from "@angular/core"; /** * Service for authentication operations. * * @example * ```typescript * export class LoginComponent { * private authService = inject(AuthService); * * login(username: string, password: string) { * this.authService.login({ username, password }).subscribe(response => { * console.log('Logged in:', response); * }); * } * } * ``` */ export declare class AuthService { private readonly http; private readonly config; /** * Get the auth API URL */ private get authApiUrl(); /** * Get the login endpoint */ private get loginEndpoint(); /** * Login with username and password * @param request - Login credentials * @returns Observable of LoginResponse */ login(request: LoginRequest): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }