/**
 * cursor.ts — Cursor headless invoker.
 *
 * Attempts to spawn: cursor-agent --headless --prompt "<prompt>"
 *
 * Falls through to pull mode (isAvailable → false) if the cursor-agent
 * binary is not in PATH.  Cursor does not ship a stable headless CLI as of
 * v0.42; this adapter is forward-compatible — once Cursor publishes
 * cursor-agent with headless support this invoker activates automatically.
 *
 * Output format (JSON frames on stdout, newline-delimited):
 *   { type: 'progress',    message, step, total }
 *   { type: 'edit',        file, diff }
 *   { type: 'token_usage', input_tokens, output_tokens }
 *   { type: 'done',        exit_code, summary? }
 *
 * Plain text lines (non-JSON) are emitted as stdout events.
 */
import type { AgentInvoker, DispatchRequest, DispatchHandle } from './types.js';
export declare class CursorInvoker implements AgentInvoker {
    readonly id: "cursor";
    readonly label = "Cursor";
    private _version;
    isAvailable(): Promise<boolean>;
    getVersion(): Promise<string | null>;
    dispatch(req: DispatchRequest): Promise<DispatchHandle>;
}
