import type { GeminiAdapterClient } from '../adapters.js'; import type { GenerateRequest, GenerateResponse, StreamRequest, StreamResult } from '../generation.js'; import type { ProviderRuntimeContext } from '../registry.js'; export interface CloudCodeSchemaProjection { readonly schema: Record; readonly droppedConstraints: readonly string[]; } /** * Project JSON Schema onto the Cloud Code subset and return every lossy step. * The provider request carries only `schema`; diagnostics travel on the local * canonical stream so weakening is observable without sending unknown fields * to Google. */ export declare const projectCloudCodeSchema: (value: unknown, path?: string) => CloudCodeSchemaProjection; export declare class CloudCodeRuntimeClient implements GeminiAdapterClient { private readonly adapter; constructor(fetchFn?: typeof fetch); stream(request: StreamRequest, context?: ProviderRuntimeContext): Promise; private events; generate(request: GenerateRequest, context?: ProviderRuntimeContext): Promise; } //# sourceMappingURL=cloud-code-runtime-client.d.ts.map