/** * `session.status`: the caller's session and its live focus. * * A leaf module. `./engine-ops.js` imports the sessions barrel and task-work, * which register the hook handlers when they load; reporting status reads the * session store and the focus pointer and needs neither. `./engine-ops.js` * re-exports {@link sessionStatus}. * * @task T1573 * @task T13126 - split out of session/engine-ops.ts */ import type { Session, TaskWorkState } from '@cleocode/contracts'; import { type EngineResult } from '../engine-result.js'; /** * Get current session status. * * Returns whether there is an active session, along with the session record, * current task work state, and the running CLEO_OWNER_OVERRIDE count for * the active session (T1501 / P0-5). * * @param projectRoot - Absolute path to the project root * @returns EngineResult with active session flag, session record, task work * state, and `overrideCount` for the active session. * * @task T1573 */ export declare function sessionStatus(projectRoot: string): Promise>; //# sourceMappingURL=status-op.d.ts.map