/** * OAuth provider selector component for /login and /logout commands */ import { Box } from '@mariozechner/pi-tui'; import type { OAuthProviderInterface } from '../../auth/types.js'; /** * Interface for auth provider that the selector needs. * Can be satisfied by Harness or AuthStorage. */ export interface AuthProviderSource { getOAuthProviders(): OAuthProviderInterface[]; isLoggedIn(providerId: string): boolean; } export declare class LoginSelectorComponent extends Box { private listContainer; private allProviders; private selectedIndex; private mode; private authSource; private onSelectCallback; private onCancelCallback; constructor(mode: 'login' | 'logout', authSource: AuthProviderSource, onSelect: (providerId: string) => void, onCancel: () => void); private loadProviders; private updateList; handleInput(keyData: string): void; } //# sourceMappingURL=login-selector.d.ts.map