import type * as http from "node:http";
export interface RunRequest {
    runner?: string;
    model?: string;
    userInput: string;
    systemPrompt?: string;
    maxTurns?: number;
    allowedTools?: string[];
    resume?: string;
    skillPaths?: string[];
    cwd?: string;
    /** Skip tool approval checks (bypass permissions). */
    yolo?: boolean;
    /** Inline runner env (string map); same keys override. */
    env?: Record<string, string>;
}
/**
 * POST /api/coding/run — Node http.ServerResponse version (standalone daemon)
 */
export declare function sandagentRun(req: RunRequest, res: http.ServerResponse, env: Record<string, string>): Promise<void>;
/**
 * POST /api/coding/run — Web Response version (Next.js embed)
 * Returns a streaming Response with NDJSON body.
 */
export declare function codingRunStream(req: RunRequest, env: Record<string, string>): Response;
//# sourceMappingURL=coding.d.ts.map