import { CollectionField, CollectionRecord } from '@plitzi/sdk-shared';
import { MouseEvent } from 'react';
export type CollectionRecordFormProps = {
    id?: string;
    fields?: CollectionField[];
    previewMode?: boolean;
    values?: CollectionRecord['values'];
    onClose?: (e?: MouseEvent) => void;
    onSubmit?: (e: MouseEvent | undefined, { record }: {
        record: Omit<CollectionRecord, 'createdAt' | 'updatedAt'>;
    }) => void;
};
declare const CollectionRecordForm: ({ id, fields, previewMode, values, onClose, onSubmit }: CollectionRecordFormProps) => import("react/jsx-runtime").JSX.Element;
export default CollectionRecordForm;
