import type { IAskAgentContext } from './tokens'; /** * The path a context points at, resolved against the server root. Contexts * from git diffs carry repository-relative paths plus the repository root in * `cwd`; contexts from plain editors are already server-relative. */ export declare function serverPath(context: IAskAgentContext): string; /** * Compose the prompt handed to the agent CLI: a one-line locator, the * selected snippet in a code fence, then the user's instruction. * * The scaffold is written in English on purpose — it is consumed by the * agent, not shown in the UI, and the agent CLIs are English-first. */ export declare function buildPrompt(context: IAskAgentContext, instruction: string): string; /** * Compose one prompt out of every queued comment, numbered and in queue * order, so a whole review pass reaches the agent as a single task list. A * queue of one degrades to the plain {@link buildPrompt} wording. */ export declare function buildBatchPrompt(items: ReadonlyArray<{ context: IAskAgentContext; instruction: string; }>): string;