import React from 'react'; import { FormikErrors } from 'formik'; import { UrlType } from '../../utils/schemaURL'; declare type ProfileType = 'regen:Individual' | 'regen:Organization'; interface ProfileModalProps { profile: ProfileFormValues; onClose: () => void; onSubmit: (profile: ProfileFormValues) => void; validate: (values: ProfileFormValues) => Promise>; apiServerUrl: string; projectId: string; } export interface ProfileFormValues { id?: string; '@type': ProfileType; 'schema:name'?: string; 'schema:image'?: UrlType; 'schema:description'?: string; 'regen:address'?: string; 'regen:showOnProjectPage': true; } declare function ProfileModal({ profile, onClose, onSubmit, validate, apiServerUrl, projectId, }: ProfileModalProps): JSX.Element; declare const ProfileOnBoardingCard: ({ children, }: { children?: React.ReactNode; }) => JSX.Element; declare const ProfileSubmitFooter: ({ submitForm, isValid, isSubmitting, onClose, }: { submitForm: (() => Promise) & (() => Promise); isValid: boolean; isSubmitting: boolean; onClose: () => void; }) => JSX.Element; export { ProfileModal, ProfileOnBoardingCard, ProfileSubmitFooter };