export declare const useOnLoginSuccessful: () => (returnUrl?: any) => void;