import React from 'react';
import { FormField } from '../../types';
export interface FormSidebarProps {
    opened: boolean;
    onClose: () => void;
    onSuccess: () => void;
    title: string;
    editMode?: boolean;
    editItem?: any;
    fields: FormField[];
    onSubmit: (values: any) => Promise<void>;
    width?: number;
    initialValues?: Record<string, any>;
    validateOnSubmit?: boolean;
}
declare const FormSidebar: React.FC<FormSidebarProps>;
export default FormSidebar;
