import type { ShellJob } from '../lib/api-client'; export declare const shellJobsQueryKey: (sessionId: string | undefined) => readonly ["project", string, "shell-jobs", string]; /** * Hydrates shell jobs for a session. Live lifecycle and output updates arrive * through the session event stream and update this query cache directly. */ export declare function useSessionShellJobs(sessionId: string | undefined): import("@tanstack/react-query").UseQueryResult<{ jobs: ShellJob[]; }, Error>; /** * Selects the active (running, non-detached) shell job matching a tool * callId, if any. Used by the inline shell tool box to offer Detach. */ export declare function useActiveShellJobForToolCall(sessionId: string | undefined, callId: string | null | undefined): import("@tanstack/react-query").UseQueryResult; export declare function useDetachSessionShellJob(sessionId: string | undefined): import("@tanstack/react-query").UseMutationResult<{ job: ShellJob; }, Error, { jobId: string; }, unknown>; export declare function useAbortSessionShellJob(sessionId: string | undefined): import("@tanstack/react-query").UseMutationResult<{ job: ShellJob; }, Error, { jobId: string; }, unknown>; //# sourceMappingURL=useShellJobs.d.ts.map