import React from 'react'; import * as Yup from 'yup'; import { BottomCreditRetireFieldsProps, RetireFormValues } from './CreditRetireForm'; export interface FormProps extends BottomCreditRetireFieldsProps { addressPrefix: string; onSubmit: (values: FormValues) => void; } export interface Recipient extends RetireFormValues { recipient: string; tradableAmount: number; withRetire: boolean; } export interface FormValues { recipients: Recipient[]; } declare type ReturnType = { recipients: Yup.ArraySchema; }; export declare function getValidationSchemaFields(addressPrefix: string): ReturnType; export declare function getValidationSchema(addressPrefix: string): Yup.AnyObjectSchema; export declare const initialValues: { recipients: { retiredAmount: number; note: string; country: string; stateProvince: string; recipient: string; tradableAmount: number; withRetire: boolean; }[]; }; export declare const RecipientsForm: React.FC; export declare function RecipientsFieldArray({ mapboxToken, }: BottomCreditRetireFieldsProps): React.ReactElement; export {};