/** * AuthWaiting — Ink-rendered first-launch sign-in flow. * * Replaces the chalk + console.log dance in src/core/auth.ts with a * single live status panel: spinner while waiting for the browser * callback, URL-fallback line if the browser didn't auto-open, and a * success row that flips green when the callback lands. */ import React from 'react'; export type AuthStatus = 'waiting' | 'success' | 'error'; export interface AuthState { status: AuthStatus; loginUrl?: string | null; email?: string | null; uid?: string | null; errorMessage?: string | null; /** When true, the caller couldn't auto-open the browser; show the URL fallback. */ showFallbackUrl?: boolean; } export interface AuthWaitingHandle { setState: (next: AuthState) => void; } export declare function AuthWaiting({ register }: { register: (handle: AuthWaitingHandle) => void; }): React.JSX.Element; //# sourceMappingURL=AuthWaiting.d.ts.map