import { UnsugarableSingleEntityEventListeners } from '@contember/react-binding';
import { RedirectOnSuccessTarget } from './useEntityRedirectOnPersistSuccess';
export type UseOnPersistSuccessProps = Pick<UnsugarableSingleEntityEventListeners, 'onPersistSuccess'> & {
    redirectOnSuccess?: RedirectOnSuccessTarget;
};
export declare const useOnPersistSuccess: ({ redirectOnSuccess, onPersistSuccess }: UseOnPersistSuccessProps) => UnsugarableSingleEntityEventListeners['onPersistSuccess'];
//# sourceMappingURL=useOnPersistSuccess.d.ts.map