/** * Submit one captured request/response envelope to the Coolhand ingest endpoint. * * Transport is delegated to coolhand-node's `Coolhand#logRequest`, which posts to the same * `/api/v2/llm_request_logs` endpoint with the client's public `api_key`. The server * deduplicates by the envelope's `response_body.id`, so re-submitting the same turn is harmless. * * The SDK swallows submission failures and returns `null`; we translate that (and a base_url * rejection from the SDK constructor) back into a `CliError` so `analyze-claude-sessions` keeps its * per-session success/failure accounting intact. * * `opts.projectPath`, when given, is sent as `metadata.project_path` so the log can be correlated * back to the repo/working directory it came from. */ export declare function logRequest(rawRequest: unknown, opts?: { clientId?: string; projectPath?: string; }): Promise; //# sourceMappingURL=log-request.d.ts.map