/**
 * @license
 * Copyright 2026 Amodal Labs, Inc.
 * SPDX-License-Identifier: MIT
 */
interface ConnectionConfigModalProps {
    open: boolean;
    packageName: string;
    /** Optional human-readable name. When omitted, the data fetch supplies it. */
    displayName?: string;
    /** Close clicked or backdrop clicked. */
    onCancel: () => void;
    /**
     * Fired once the connection is fully configured (every required
     * envVar is set). The `displayName` is the human label the panel
     * should reference in its "Configured X" user-message post.
     */
    onConfigured: (info: {
        packageName: string;
        displayName: string;
    }) => void;
}
export declare function ConnectionConfigModal({ open, packageName, displayName: externalDisplayName, onCancel, onConfigured, }: ConnectionConfigModalProps): import("react/jsx-runtime").JSX.Element | null;
export {};
