/**
 * @license
 * Copyright 2025 Vybestack LLC
 * SPDX-License-Identifier: Apache-2.0
 */
import { WizardStep } from './types.js';
import type { WizardState, ConnectionTestResult } from './types.js';
export declare function needsBaseUrlConfig(provider: string | null): boolean;
export declare function generateProfileNameSuggestions(config: WizardState['config']): string[];
export declare function buildProfileJSON(state: WizardState): Record<string, unknown>;
export declare function saveProfile(name: string, config: Record<string, unknown>, opts?: {
    overwrite?: boolean;
}): Promise<{
    success: boolean;
    error?: string;
    path?: string;
    alreadyExists?: boolean;
}>;
export declare function formatConfigSummary(state: WizardState): string;
export declare function testConnectionWithTimeout(provider: string, baseUrl: string | undefined, model: string, authKind: 'apikey' | 'keyfile', authValue: string, timeoutMs?: number): Promise<ConnectionTestResult>;
export declare function getNextStep(current: WizardStep, state: WizardState): WizardStep;
export declare function getPreviousStep(state: WizardState): WizardStep;
export declare function getStepPosition(state: WizardState): {
    current: number;
    total: number;
};
