import { type GenerateResult, type LanguageModel, type ModelGenerateInput, type StreamEvent } from "@zhivex-ai/core"; import { type GatewayConfig, type GatewayModelTarget } from "./types.js"; export declare const cachedResults: WeakSet; /** Provider dispatch, resource lifetimes and exact caching are shared by every routed operation. */ export declare const createGatewayExecutor: (config: GatewayConfig) => { diagnostics: () => { settlementFailures: number; pendingSettlements: number; pendingCacheWrites: number; droppedCacheWrites: number; inFlightCacheKeys: number; }; flush: () => Promise; generate(model: LanguageModel, target: GatewayModelTarget, input: ModelGenerateInput, scope?: string, cacheScope?: string): Promise; stream(model: LanguageModel, target: GatewayModelTarget, input: ModelGenerateInput, scope?: string): Promise>; }; //# sourceMappingURL=execution.d.ts.map