import * as React from 'react'; import type { AuthSsoProvider } from './sso-providers'; export interface CreateOrganizationFormProps { /** Controlled field values */ email: string; organizationName: string; domain: string; agreedToTerms: boolean; /** Change handlers */ onEmailChange: (value: string) => void; onOrganizationNameChange: (value: string) => void; onDomainChange: (value: string) => void; onAgreedToTermsChange: (checked: boolean) => void; /** Primary submit ("Continue") */ onSubmit: () => void; /** Suffix rendered inside the domain input, e.g. ".openframe.ai" */ domainSuffix?: string; domainPlaceholder?: string; termsUrl?: string; privacyPolicyUrl?: string; submitLabel?: string; /** Disables just the primary submit (fields stay editable). */ submitDisabled?: boolean; loading?: boolean; disabled?: boolean; errors?: { email?: string; organizationName?: string; domain?: string; terms?: string; }; /** Informational status under the email field (e.g. live availability). `errors.email` wins. */ emailStatus?: { message: string; variant: 'error' | 'warning' | 'success' | 'muted'; }; /** Informational status under the domain field (e.g. live availability). `errors.domain` wins. */ domainStatus?: { message: string; variant: 'error' | 'warning' | 'success' | 'muted'; }; /** Extra content rendered under the domain field, e.g. suggested available domains. */ domainSlot?: React.ReactNode; /** * SSO registration alternatives rendered below the primary submit behind an * "or continue with" divider. The form fields stay editable — gate the * buttons with `ssoDisabled` (e.g. until the form validates). */ ssoProviders?: AuthSsoProvider[]; onSsoClick?: (provider: AuthSsoProvider) => void; /** Disables the provider buttons (e.g. until the form validates). */ ssoDisabled?: boolean; /** Verb prefix for provider buttons, e.g. "Continue with". Ignored for "openframe". */ ssoActionLabel?: string; /** Divider text between the primary submit and the SSO buttons. */ dividerLabel?: string; className?: string; } /** * Create Organization form (Sign Up tab). Presentational + controlled — the * consumer owns state, validation and submission. Covers the empty, filled and * SSO states from the auth redesign. */ export declare function CreateOrganizationForm({ email, organizationName, domain, agreedToTerms, onEmailChange, onOrganizationNameChange, onDomainChange, onAgreedToTermsChange, onSubmit, domainSuffix, domainPlaceholder, termsUrl, privacyPolicyUrl, submitLabel, submitDisabled, loading, disabled, errors, emailStatus, domainStatus, domainSlot, ssoProviders, onSsoClick, ssoDisabled, ssoActionLabel, dividerLabel, className, }: CreateOrganizationFormProps): React.JSX.Element; //# sourceMappingURL=create-organization-form.d.ts.map