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