import { Container, type TUI } from "@oh-my-pi/pi-tui"; /** * Login dialog component - replaces editor during OAuth login flow */ export declare class LoginDialogComponent extends Container { #private; private onComplete; constructor(tui: TUI, providerId: string, onComplete: (success: boolean, message?: string) => void); get signal(): AbortSignal; /** * Called by onAuth callback - show URL and optional instructions */ showAuth(url: string, instructions?: string): void; /** * Show input for manual code/URL entry (for callback server providers) */ showManualInput(prompt: string): Promise; /** * Called by onPrompt callback - show prompt and wait for input * Note: Does NOT clear content, appends to existing (preserves URL from showAuth) */ showPrompt(message: string, placeholder?: string): Promise; /** * Show waiting message (for polling flows like GitHub Copilot) */ showWaiting(message: string): void; /** * Called by onProgress callback */ showProgress(message: string): void; handleInput(data: string): void; }