/**
 * @license
 * Copyright 2026 Amodal Labs, Inc.
 * SPDX-License-Identifier: MIT
 */
import type { ConnectionDetail } from '../hooks/useConnectionDetail';
interface ConnectionConfigFormProps {
    data: ConnectionDetail;
    saveSecret: (name: string, value: string) => Promise<void>;
    canWriteSecrets?: boolean;
    /**
     * Called when the user starts an OAuth Connect. The form opens a
     * popup to the runtime's authorize URL; the embedder is responsible
     * for detecting popup closure and refetching `data` to confirm
     * the env-vars landed. Returns the popup window handle so the
     * embedder can poll `popup.closed`.
     */
    onOAuthPopup?: (popup: Window) => void;
}
export declare function ConnectionConfigForm({ data, saveSecret, canWriteSecrets, onOAuthPopup, }: ConnectionConfigFormProps): import("react/jsx-runtime").JSX.Element;
export {};
