export declare const DEEPMIND_V1BETA_MODELS_GENERATE_CONTENT_ENDPOINT: "/v1beta/models/{model}:generateContent";
export declare const DEFAULT_DEEPMIND_V1BETA_MODELS_GENERATE_CONTENT_BASE_URL: "https://generativelanguage.googleapis.com";
export type DeepMindV1BetaModelsGenerateContentBoundary = "input" | "contract" | "governance" | "provider" | "timeout" | "response";
export type DeepMindV1BetaModelsGenerateContentErrorCode = "MISSING_REQUEST" | "MISSING_MODEL" | "MISSING_REQUEST_BODY" | "MISSING_AUTH_TOKEN" | "CONTRACT_REJECTED" | "GOVERNANCE_REJECTED" | "TRANSPORT_UNAVAILABLE" | "PROVIDER_AUTH_FAILED" | "PROVIDER_RATE_LIMITED" | "PROVIDER_TIMEOUT" | "PROVIDER_UNAVAILABLE" | "PROVIDER_ERROR" | "RESPONSE_FORMAT_DRIFT";
export type DeepMindV1BetaModelsGenerateContentGate = {
    accepted: boolean;
    reason?: string;
};
export type DeepMindV1BetaModelsGenerateContentRuntimeContext = {
    runtimeId?: string;
    invocationId?: string;
    traceId?: string;
};
export type DeepMindV1BetaModelsGenerateContentBody = Readonly<Record<string, unknown>>;
export type DeepMindV1BetaModelsGenerateContentProviderEnvelope = {
    provider: "deepmind";
    apiVersion: "v1beta";
    endpoint: typeof DEEPMIND_V1BETA_MODELS_GENERATE_CONTENT_ENDPOINT;
    operation: "generate-content";
    method: "POST";
    model: string;
    url: string;
    headers: Readonly<Record<string, string>>;
    body: DeepMindV1BetaModelsGenerateContentBody;
    timeoutMs: number;
    dryRun: boolean;
    providerCallPlanned: boolean;
    runtime: DeepMindV1BetaModelsGenerateContentRuntimeContext;
    providerFieldsOpaque: true;
};
export type DeepMindV1BetaModelsGenerateContentProviderResult = {
    statusCode: number;
    body: unknown;
    headers?: Readonly<Record<string, string>>;
};
export type DeepMindV1BetaModelsGenerateContentTransport = (envelope: DeepMindV1BetaModelsGenerateContentProviderEnvelope) => Promise<DeepMindV1BetaModelsGenerateContentProviderResult> | DeepMindV1BetaModelsGenerateContentProviderResult;
export type DeepMindV1BetaModelsGenerateContentRequest = {
    baseUrl?: string;
    apiKey?: string;
    model?: string;
    body?: DeepMindV1BetaModelsGenerateContentBody;
    timeoutMs?: number;
    dryRun?: boolean;
    runtime?: DeepMindV1BetaModelsGenerateContentRuntimeContext;
    contract?: DeepMindV1BetaModelsGenerateContentGate;
    governance?: DeepMindV1BetaModelsGenerateContentGate;
    transport?: DeepMindV1BetaModelsGenerateContentTransport;
};
export type DeepMindV1BetaModelsGenerateContentResponseEnvelope = {
    kind: "dry-run" | "provider";
    statusCode?: number;
    body: unknown;
    headers?: Readonly<Record<string, string>>;
    providerFieldsOpaque: true;
};
export type DeepMindV1BetaModelsGenerateContentCapabilitySignal = {
    provider: "deepmind";
    endpoint: typeof DEEPMIND_V1BETA_MODELS_GENERATE_CONTENT_ENDPOINT;
    operation: "generate-content";
    rawShape: "candidates" | "dry-run";
};
export type DeepMindV1BetaModelsGenerateContentError = {
    code: DeepMindV1BetaModelsGenerateContentErrorCode;
    message: string;
    boundary: DeepMindV1BetaModelsGenerateContentBoundary;
    statusCode?: number;
};
export type DeepMindV1BetaModelsGenerateContentResult = {
    ok: true;
    envelope: DeepMindV1BetaModelsGenerateContentProviderEnvelope;
    response: DeepMindV1BetaModelsGenerateContentResponseEnvelope;
    capability: DeepMindV1BetaModelsGenerateContentCapabilitySignal;
    events: readonly string[];
} | {
    ok: false;
    error: DeepMindV1BetaModelsGenerateContentError;
    envelope?: DeepMindV1BetaModelsGenerateContentProviderEnvelope;
    events: readonly string[];
};
export declare function invokeDeepMindV1BetaModelsGenerateContent(request?: DeepMindV1BetaModelsGenerateContentRequest): Promise<DeepMindV1BetaModelsGenerateContentResult>;
