/**
 * Google Generative AI connector (Gemini family).
 *
 * Speaks Google's native `streamGenerateContent` dialect rather than the
 * OpenAI Chat Completions shape, so this connector owns its own streaming loop
 * instead of delegating to {@link streamOpenAICompatibleChat}. The request body
 * is assembled from the shared {@link toGoogleContents} /
 * {@link toGoogleSystemInstruction} / {@link toGoogleTools} mappers plus a
 * `generationConfig` block; the SSE response is decoded with the foundation's
 * {@link sseEvents} framer and the resulting deltas are folded into a single
 * {@link Reply} by {@link foldReply}.
 *
 * Wire shape (re-derived from Google's public Generative Language REST docs):
 *
 *   POST {baseUrl}/v1beta/models/{model.id}:streamGenerateContent?alt=sse
 *   x-goog-api-key: <key>
 *   { contents, systemInstruction?, tools?, generationConfig: { ... } }
 *
 *   data: {"candidates":[{"content":{"parts":[{"text":"..."}]},
 *           "finishReason":"STOP"}],"usageMetadata":{...}}
 *
 * Serves the `google` provider's `google-generative` cards:
 * `gemini-2.5-pro` and `gemini-2.5-flash`.
 */
import type { CredentialResolver, Connector } from "../contract";
/** Dependencies injected into the connector factory. */
interface GoogleConnectorDeps {
    /** Resolve the API key for a provider, honoring an explicit override. */
    readonly resolveSecret: CredentialResolver["resolve"];
}
/**
 * Build a {@link Connector} for Google Generative AI.
 *
 * The API key is resolved lazily, on the first iteration of {@link stream}, via
 * the injected `resolveSecret`. A missing key surfaces as an `auth`
 * {@link GatewayError} carried on a terminal `error` emission, keeping the
 * channel non-throwing like every other connector.
 */
export declare function creategoogleConnector(deps: GoogleConnectorDeps): Connector;
export {};
