import { type CreateSessionRequest } from "../shared/types.js"; export declare function validateInitialAttachments(attachments: CreateSessionRequest["initialAttachments"]): void; /** * Prepare the first turn before the CLI exists; there is no synthetic PTY * Enter. Files are materialized into the session's cwd, then the prompt is * composed in one order (`buildFirstPrompt`): the idea, the files, the * linked sources, the session setup. * * Creating the agent is NOT this function's job any more: the session-side * `scaffold` option is gone (flow-creation.md ยง4.4 step 4). The harness * scaffolds through `POST /api/agents/scaffold` before any session opens, so * a session request always names a folder that already exists. */ export declare function prepareFirstRequest(request: CreateSessionRequest): Promise; //# sourceMappingURL=first-request.d.ts.map