import { InjectionToken } from '@angular/core'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; export interface NgxFormsAuthOptions { /** URL du endpoint de login, ex : 'https://api.example.com/security-service/api/login' */ loginUrl: string; /** Identifiant utilisateur */ username: string; /** Mot de passe */ password: string; } export declare const NGX_FORMS_AUTH: InjectionToken; export declare class NgxFormsAuthService { private http; private config; private token; private expiresAt; /** Retourne un token valide — se connecte si absent ou expiré */ getToken(): Observable; /** Force une ré-authentification au prochain appel */ clearToken(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }