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