import type { ProviderConfig } from '../../types/config.js';
import { type ProviderTemplate } from '../templates/provider-templates.js';
interface ProviderStepProps {
    onComplete: (providers: ProviderConfig[]) => void;
    onBack?: () => void;
    onDelete?: () => void;
    existingProviders?: ProviderConfig[];
    configExists?: boolean;
}
/**
 * Find the best matching template for an existing provider config.
 * Match by id, name, or baseUrl — then fall back to custom.
 */
export declare function findTemplateForProvider(provider: ProviderConfig): ProviderTemplate | undefined;
export declare function ProviderStep({ onComplete, onBack, onDelete, existingProviders, configExists, }: ProviderStepProps): import("react").JSX.Element | null;
export {};
//# sourceMappingURL=provider-step.d.ts.map