import { Container, type Focusable } from "@eminent337/aery-tui";
import type { AuthStatus, AuthStorage } from "../../../core/auth-storage.js";
export type AuthSelectorProvider = {
    id: string;
    name: string;
    authType: "oauth" | "api_key";
};
/**
 * Component that renders an auth provider selector
 */
export declare class OAuthSelectorComponent extends Container implements Focusable {
    private searchInput;
    private _focused;
    get focused(): boolean;
    set focused(value: boolean);
    private listContainer;
    private allProviders;
    private filteredProviders;
    private selectedIndex;
    private mode;
    private authStorage;
    private onSelectCallback;
    private onCancelCallback;
    constructor(mode: "login" | "logout", authStorage: AuthStorage, providers: AuthSelectorProvider[], onSelect: (providerId: string) => void, onCancel: () => void, _getAuthStatus?: (providerId: string) => AuthStatus);
    private filterProviders;
    private updateList;
    handleInput(keyData: string): void;
}
//# sourceMappingURL=oauth-selector.d.ts.map