/**
 * ApiKeyInput Component
 * Interactive overlay for entering API keys when switching to a provider without one
 */
import React from 'react';
import type { Key } from '../../hooks/useInputOrchestrator.js';
import type { LLMProvider } from '@dexto/llm';
export interface ApiKeyInputProps {
    isVisible: boolean;
    provider: LLMProvider;
    onSaved: (meta: {
        provider: LLMProvider;
        envVar: string;
    }) => void;
    onClose: () => void;
}
export interface ApiKeyInputHandle {
    handleInput: (input: string, key: Key) => boolean;
}
/**
 * API key input overlay - prompts user for API key when switching to a provider
 * that doesn't have a configured key
 */
declare const ApiKeyInput: React.ForwardRefExoticComponent<ApiKeyInputProps & React.RefAttributes<ApiKeyInputHandle>>;
export default ApiKeyInput;
//# sourceMappingURL=ApiKeyInput.d.ts.map