/** * Page state diagnostics for the authentication flow. * * Provides structured descriptions of where the user is in the * Microsoft login flow, used for progress reporting and error messages. */ /** Describes the current state of the page during the login flow. */ export interface PageState { url: string; phase: "login-page" | "mfa-challenge" | "redirect" | "teams-loading" | "teams-loaded" | "unknown"; detail: string; } /** * Diagnose the current page state during authentication. * Returns a structured description of where the user is in the login flow. */ export declare function diagnosePageState(page: { url: () => string; evaluate: (script: string) => Promise; }): Promise; //# sourceMappingURL=page-diagnostics.d.ts.map