import { EntitySubTreeAdditionalCreationProps, EntitySubTreeAdditionalProps, SugaredUnconstrainedQualifiedSingleEntity } from '@contember/react-binding';
import { ReactNode } from 'react';
import { LayoutRendererProps } from '../../bindingFacade';
import { RedirectOnSuccessTarget } from '../useEntityRedirectOnPersistSuccess';
export type CreatePageProps = Omit<SugaredUnconstrainedQualifiedSingleEntity, 'isCreating'> & EntitySubTreeAdditionalProps & EntitySubTreeAdditionalCreationProps & {
    pageName?: string;
    children: ReactNode;
    redirectOnSuccess?: RedirectOnSuccessTarget;
    rendererProps?: LayoutRendererProps;
};
/**
 * @example
 * ```
 * <CreatePage
 *   entity="Article"
 *   redirectOnSuccess="articleEdit(id: $entity.id)"
 *   rendererProps={{ title: 'Create article' }}
 * >
 *   <TextField label="Name" name="name" />
 * </CreatePage>
 * ```
 *
 * @group Pages
 */
export declare const CreatePage: import("./pageComponent").PageComponent<({ pageName, children, rendererProps, redirectOnSuccess, onPersistSuccess, ...entityProps }: CreatePageProps) => import("react/jsx-runtime").JSX.Element>;
//# sourceMappingURL=CreatePage.d.ts.map