import { McpServer } from "@modelcontextprotocol/server"; export interface JobMcpTarget { jobId: string; jobDir: string; /** How long job_ask_human waits by default (the skill's `human_wait_seconds`). */ humanWaitSeconds?: number; } export declare const JOB_MCP_INSTRUCTIONS = "This server is the skillhook job API for the run you are in. Use job_progress at meaningful steps so people can follow along (name the job with title in the first report), and job_ask_human when you need a decision or information from a person: it waits for the answer and returns it. If it returns without an answer, or you cannot wait, finish the task as far as you safely can and report outcome \"needs_human\" with exactly what is needed (and options when the person picks from a few); a person can answer later and your session will be resumed with the answer. job_set_outcome records the task outcome (completed, partial, needs_human, nothing_to_do, failed) with a headline (the result in one line), a summary for a person and links: what started the run, what you opened or changed, how to check it. The guardrails may also ask for it as your final answer or as response.json, which is equivalent. People read all of this on Skillhook Cloud's inbox, Markdown included."; export declare function buildJobMcpServer(target: JobMcpTarget): McpServer; /** The job this process serves: the environment the runner injected, or `--job ` under `jobsDir`. */ export declare function jobFromEnv(env: NodeJS.ProcessEnv, jobsDir: string, jobId?: string): JobMcpTarget | undefined; export declare function serveJobMcp(target: JobMcpTarget): Promise;