/**
 * Google Vertex AI connector.
 *
 * Vertex exposes the same *generative* request/response grammar as the Gemini
 * Developer API, but reached through a project- and region-scoped endpoint and
 * authenticated with a Google OAuth bearer access token rather than an API key:
 *
 *   POST {baseUrl}/v1/projects/{project}/locations/{location}
 *        /publishers/google/models/{model}:streamGenerateContent?alt=sse
 *   Authorization: Bearer <googleAccessToken>
 *
 * The streamed body is a sequence of server-sent events whose `data` payloads
 * are JSON `GenerateContentResponse` chunks. Each chunk carries a `candidates`
 * array; the first candidate's `content.parts` hold text, thinking (parts with
 * `thought: true`), and `functionCall` fragments, while `finishReason` and the
 * top-level `usageMetadata` describe how the turn concluded.
 *
 * Because the wire grammar is Google's — not OpenAI's — this connector decodes
 * the SSE stream itself (via the shared {@link sseEvents} framer) instead of
 * delegating to {@link streamOpenAICompatibleChat}. Request bodies are built
 * with the neutral Google mappers, and chunks are translated into neutral
 * {@link Emission}s that {@link foldReply} collapses into a {@link Reply}.
 */
import type { Connector, CredentialResolver } from "../contract";
/** Dependencies a Vertex connector needs from the gateway host. */
export interface GoogleVertexDeps {
    /** Resolves the Google OAuth access token (honors a per-request override). */
    readonly resolveSecret: CredentialResolver["resolve"];
}
/**
 * Build a {@link Connector} for Google Vertex AI.
 *
 * The connector resolves a Google OAuth access token via the injected
 * `resolveSecret`, honoring a per-request `apiKey` override. With no token in
 * reach, both {@link Connector.stream} and {@link Connector.complete} fail with
 * an `auth` {@link GatewayError}.
 */
export declare function creategooglevertexConnector(deps: GoogleVertexDeps): Connector;
