/// <reference types="react" />
import { Product } from '@parlor/common/amplify-schema';
export type CreateWidgetFormValues = {
    product: Partial<Product>;
};
export type CreateWidgetModalProps = {
    onClose?(): void;
    onSubmit?: (value?: CreateWidgetFormValues) => Promise<unknown>;
    product?: Partial<Product>;
};
export declare const CreateWidgetModal: ({ onClose, onSubmit, product }: CreateWidgetModalProps) => JSX.Element;
