/**
 * TUI OAuth provider selector — lists available providers with login status.
 *
 * Used for both login and logout flows. Hidden providers (codex, copilot, etc.)
 * are excluded. Providers can be reordered via the `providerOrder` option.
 */
import type { AuthStorage } from '../../../app/auth/auth-storage.js';
import { Container } from '../../../tui/index.js';
/**
 * Component that renders an OAuth provider selector
 */
export interface OAuthSelectorOptions {
    mode: 'login' | 'logout';
    authStorage: AuthStorage;
    onSelect: (providerId: string) => void;
    onCancel: () => void;
    /** Display order for providers — unlisted providers appear at the end. */
    providerOrder?: string[];
}
export declare class OAuthSelectorComponent extends Container {
    private listContainer;
    private allProviders;
    private selectedIndex;
    private mode;
    private authStorage;
    private onSelectCallback;
    private onCancelCallback;
    private providerOrder;
    constructor(options: OAuthSelectorOptions);
    private static readonly HIDDEN_PROVIDERS;
    private loadProviders;
    private updateList;
    handleInput(keyData: string): void;
}
//# sourceMappingURL=oauth-selector.d.ts.map