import { FC } from 'react'; import type { KeepAliveProps } from 'react-activation'; import KeepAlive, { AliveScope, useActivate, useUnactivate, withActivation, useAliveController } from 'react-activation'; import IglooAliveScope from './AliveScope'; declare function withKeepAlive(WrappedComponent: FC<{ [prop: string]: any; }>): (props: Omit) => () => JSX.Element; export default withKeepAlive; declare const reactActivation: { KeepAlive: typeof KeepAlive; AliveScope: typeof AliveScope; useActivate: typeof useActivate; useUnactivate: typeof useUnactivate; withActivation: typeof withActivation; useAliveController: typeof useAliveController; }; export { reactActivation, IglooAliveScope };