interface UseKeepAliveFlagOptions {
    /** 状态切换到deactivated时触发 */
    afterDeactivated?: () => void;
    /** 状态切换到activated时触发 */
    afterActivated?: () => void;
}
/**
 * 获取keepAliveFlag
 * @returns
 */
export declare function useKeepAliveFlag(options?: UseKeepAliveFlagOptions): {
    isDeactivated: () => boolean;
    isActivated: () => boolean;
    registerAfterDeactivated: (fn: UseKeepAliveFlagOptions["afterDeactivated"]) => void;
    registerAfterActivated: (fn: UseKeepAliveFlagOptions["afterActivated"]) => void;
};
export {};
