import type { CloudDeploymentProvider } from '../../../../../../packages/core/src/domain/generated/output.js';
export interface ProviderListEntry {
    id: CloudDeploymentProvider;
    displayName: string;
    enabled: boolean;
    connected: boolean;
}
export interface ProviderListProps {
    providers: readonly ProviderListEntry[];
    selectedProvider: CloudDeploymentProvider | null;
    loading?: boolean;
    loadError?: string | null;
    /**
     * When true, the currently-selected provider is NEVER rendered as a
     * row — not in the collapsed primary view, not in the expanded list.
     * Used when the parent already renders the selected provider as its
     * own main row (e.g. DeployPanel's cloud host ServiceRow) and we only
     * want the provider list to surface *alternatives*. In that mode the
     * collapsed view is empty and only the "Change provider" chevron
     * shows — clicking it expands the list of other providers.
     */
    hideSelected?: boolean;
    onSelectConnected(provider: CloudDeploymentProvider): void;
    onSelectDisconnected(provider: CloudDeploymentProvider): void;
    onEditConnection?(provider: CloudDeploymentProvider): void;
}
export declare function ProviderList({ providers, selectedProvider, loading, loadError, hideSelected, onSelectConnected, onSelectDisconnected, onEditConnection, }: ProviderListProps): import("react/jsx-runtime").JSX.Element | null;
//# sourceMappingURL=provider-list.d.ts.map