import type { OAuthApp } from "@stigmer/protos/ai/stigmer/iam/oauthapp/v1/api_pb";
/** Props for {@link CreateOAuthAppForm}. */
export interface CreateOAuthAppFormProps {
    /** Organization slug — the OAuth app will be created in this org. */
    readonly org: string;
    /** Fired with the newly created OAuth app on success. */
    readonly onCreated?: (app: OAuthApp) => void;
    /** Fired when the user cancels creation. */
    readonly onCancel?: () => void;
    /** Additional CSS class names for the root container. */
    readonly className?: string;
}
/**
 * Form for creating a new OAuth app within an organization.
 *
 * Collects the required OAuth configuration: **name**, **provider**,
 * **client ID**, **client secret**, **authorization URL**, and
 * **token URL**. An expandable "Advanced" section provides optional
 * fields for scopes, userinfo URL, scope parameter name, and vendor
 * approval settings.
 *
 * This is a pure presentational component with no dialog wrapper
 * (headless-first). The parent is responsible for rendering it inside
 * a card, dialog, or inline context as needed.
 *
 * All visual properties flow through `--stgm-*` design tokens.
 *
 * @example
 * ```tsx
 * <CreateOAuthAppForm
 *   org="acme"
 *   onCreated={(app) => {
 *     refetch();
 *     setShowForm(false);
 *   }}
 *   onCancel={() => setShowForm(false)}
 * />
 * ```
 */
export declare function CreateOAuthAppForm({ org, onCreated, onCancel, className, }: CreateOAuthAppFormProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=CreateOAuthAppForm.d.ts.map