/** * @author: yanxianliang * @date: 2025-07-24 09:33 * @modified:2025/7/24 09:33 by yanxianliang * @desc: get/set run state * * Copyright (c) 2025 by yanxianliang, All Rights Reserved. */ /** * useNodeDebugState is a custom hook that provides access to the debug state and allows modification of the running state. * It utilizes the DebugContext to retrieve the zustand store, which holds the debug state information. * If the DebugContext provider is missing, it throws an error. * * @returns A tuple where the first element is a boolean indicating if the debug is running, * and the second element is a function to set the running state. */ export declare const useRunState: () => { readonly runningStatus: import("../../..").RunningStatus | undefined; readonly timeSpent: number | undefined; };