import { PropsWithChildren } from 'react';
import { Data } from '../../../types/data';
import { FormStationProps } from '../FormStation';
import { ActionHandler } from '../FormStation.models';
export type CreateProps<TValues extends Data, TSubmitResponse = unknown> = Omit<FormStationProps<TValues, TSubmitResponse>, 'actions' | 'onActionSelected' | 'alwaysShowActionsPanel' | 'defaultTitle' | 'titleProperty' | 'alwaysSubmitBeforeAction'> & {
    /** The title of the station */
    title: string;
    /**
     * Called after the entity was saved.
     * The expected behavior is, to navigate the user to the details page of the created entity.
     * The function will receive the form data as well as the values returned by the `saveData` function.
     */
    onProceed: ActionHandler<TValues, TSubmitResponse>;
    /**
     * This prop allows defining a custom label for the proceed action. If it's not provided, the station will use
     * the label 'Proceed'.
     */
    proceedLabel?: string;
    /**
     * Disables the 'Proceed' button and prevents `saveData` from being called. It
     * is advised to define station message in case this is true.
     */
    denyProceeding?: boolean;
};
/**
 * This component is the basic building block for 'create' stations in the CMS.
 *
 * You can specify the form you want to show in the children prop. The form will run inside a Formik context.
 *
 * To create the form, it's usually the easiest to use Formik's `<Field/>` component and using one of the
 * `*Field` components coming from this library in the `as` prop like this:
 *
 * `<Field name="title" label="Title" as={TextField} />`
 */
export declare const Create: <TValues extends Data, TSubmitResponse = unknown>(props: PropsWithChildren<CreateProps<TValues, TSubmitResponse>>) => JSX.Element;
//# sourceMappingURL=Create.d.ts.map