/**
 * OpenAI Responses connector.
 *
 * Speaks the OpenAI **Responses** dialect (`POST /v1/responses`), which the
 * o-series reasoning models (`o3`, `o4-mini`) expose. Unlike the Chat
 * Completions dialect, the Responses stream is a sequence of *typed* server
 * events — each SSE payload is a JSON object whose `type` field names a discrete
 * lifecycle step (`response.output_text.delta`, `response.completed`, …) rather
 * than an opaque chat chunk. Because of that distinct shape this connector runs
 * its own decode loop instead of delegating to the shared Chat Completions
 * streamer.
 *
 * Wire shape (re-derived from OpenAI's public Responses docs):
 *
 *   POST {baseUrl||https://api.openai.com/v1}/responses
 *   Authorization: Bearer <key>
 *   { "model": "...", "input": [...], "tools": [...], "stream": true,
 *     "reasoning": { "effort": "medium" } }
 *
 *   event: response.output_text.delta
 *   data: {"type":"response.output_text.delta","delta":"Hel"}
 *
 *   event: response.output_item.added
 *   data: {"type":"response.output_item.added",
 *          "item":{"type":"function_call","name":"f","call_id":"call_x"}}
 *
 *   event: response.function_call_arguments.delta
 *   data: {"type":"response.function_call_arguments.delta",
 *          "item_id":"...","delta":"{\"a"}
 *
 *   event: response.completed
 *   data: {"type":"response.completed",
 *          "response":{"status":"completed","usage":{...}}}
 */
import type { Connector, CredentialResolver } from "../contract";
/** Injected dependencies — only credential resolution is required. */
export interface OpenAiResponsesDeps {
    /** Resolves the bearer key, honoring a per-call override first. */
    readonly resolveSecret: CredentialResolver["resolve"];
}
/**
 * Build an OpenAI Responses {@link Connector}.
 *
 * Serves the reasoning-capable o-series cards whose `api` is `openai-responses`
 * — `o3` and `o4-mini` in the catalog. The bearer key is resolved lazily on
 * each call through the injected {@link CredentialResolver.resolve}, honoring a
 * per-invocation `options.apiKey` override.
 */
export declare function createopenairesponsesConnector(deps: OpenAiResponsesDeps): Connector;
