/**
 * OpenAI Chat Completions connector.
 *
 * Serves the `openai-completions` cards in the catalog — `gpt-4o` and
 * `gpt-4o-mini` — by speaking the canonical OpenAI `/chat/completions` dialect.
 * It is a thin wrapper: all request assembly, SSE decoding, and chunk→emission
 * translation live in the shared {@link streamOpenAICompatibleChat} streamer.
 * This module's only jobs are resolving the bearer credential, pointing the
 * streamer at the right URL with the right headers, and exposing the
 * {@link Connector} surface.
 */
import type { Connector, CredentialResolver } from "../contract";
/** Dependencies this connector needs from the gateway runtime. */
export interface OpenAIChatDeps {
    /** Resolves the OpenAI bearer key (honoring a per-call override). */
    readonly resolveSecret: CredentialResolver["resolve"];
}
/**
 * Build an OpenAI Chat Completions {@link Connector}.
 *
 * The single dependency is the credential resolver (typically
 * `environmentCredentialResolver.resolve`), injected so the connector stays
 * free of ambient environment access and is trivial to fake in tests.
 */
export declare function createopenaichatConnector(deps: OpenAIChatDeps): Connector;
