import { PropsWithChildren } from 'react';
import { Data } from '../../../types/data';
import { FormStationProps } from '../FormStation';
export type DetailsProps<TValues extends Data, TSubmitResponse = unknown> = Omit<FormStationProps<TValues, TSubmitResponse>, 'cancelNavigationUrl' | 'alwaysSubmitBeforeAction'>;
/**
 * This component is the basic building block for 'details' 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} />`
 *
 * In addition, it allows the definition of `actions`, which will be presented to the user in the appropriate panel.
 * The component uses the `onActionSelected` callback to notify the application when an action needs to be executed by the application.
 */
export declare const Details: <TValues extends Data, TSubmitResponse = unknown>(props: PropsWithChildren<DetailsProps<TValues, TSubmitResponse>>) => JSX.Element;
//# sourceMappingURL=Details.d.ts.map