import { OnInit } from '@angular/core'; import * as i0 from "@angular/core"; /** * Componente de callback para OAuth. * * Este componente procesa la respuesta del servidor OAuth y envía * los tokens a la ventana padre via postMessage. * * Debe agregarse a las rutas de la aplicación: * ```typescript * // app.routes.ts * import { OAuthCallbackComponent } from 'valtech-components'; * * export const routes: Routes = [ * { path: 'auth/oauth/callback', component: OAuthCallbackComponent }, * // ... otras rutas * ]; * ``` * * El backend redirige a esta ruta con los tokens en query params: * `/auth/oauth/callback?access_token=xxx&refresh_token=xxx&expires_in=900` * * O con error: * `/auth/oauth/callback?error=INVALID_CODE&error_description=...` */ export declare class OAuthCallbackComponent implements OnInit { message: string; ngOnInit(): void; private processCallback; private sendToParent; private closeAfterDelay; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }