import React from 'react';
import { BoxProps } from '@mantine/core';
import { PhoneProps } from "../../mantine/phone";
import { DynamicInputOrderProps } from "../dynamicForm";
import { OnboardingItemShareProps } from "../stepRenderer";
export type FrisoFormHandleProps = {
    submitForm: () => void;
};
export type FrisoFormProps = {
    inputOrder: DynamicInputOrderProps;
    onClose(): void;
    onSubmit(data: any): void;
    canSkip?: boolean;
    defaultCountry?: PhoneProps['defaultCountry'];
    defaultValues?: any;
    customTerms?: React.ReactNode;
    customFormTexts?: {
        heading?: string;
        description?: string;
    };
    validateSchema?: any;
} & Partial<OnboardingItemShareProps> & BoxProps;
export type FrisoFormRefProps = {
    submitForm: () => void;
};
declare const _default: React.ForwardRefExoticComponent<{
    inputOrder: DynamicInputOrderProps;
    onClose(): void;
    onSubmit(data: any): void;
    canSkip?: boolean;
    defaultCountry?: import("libphonenumber-js/types.cjs").CountryCode;
    defaultValues?: any;
    customTerms?: React.ReactNode;
    customFormTexts?: {
        heading?: string;
        description?: string;
    };
    validateSchema?: any;
} & Partial<OnboardingItemShareProps> & BoxProps & React.RefAttributes<FrisoFormRefProps>>;
export default _default;
