import React from 'react';
import { CreateProduct, Product, UpdateProduct } from '@parlor/common/amplify-schema';
type AddOrEditProductModalProps = {
    onClose: () => void;
    onSubmit: (product: CreateProduct | UpdateProduct) => void;
    product?: Product;
};
declare function AddOrEditProductModalComponent({ onClose, onSubmit, product }: AddOrEditProductModalProps): JSX.Element;
export declare const AddOrEditProductModal: React.MemoExoticComponent<typeof AddOrEditProductModalComponent>;
export {};
