import React from 'react';
import '../tailwind.css';
export interface FormProps {
    onSubmit(values: any): Promise<void> | void;
    error?: string;
    validate?: any;
    children: React.ReactNode;
}
export declare const Form: ({ children, onSubmit, error, validate }: FormProps) => JSX.Element;
