import type * as plugins from './plugins.js'; export declare function registerOpenAiCacheTransparentTransport(transport: NonNullable): void; /** Whether a connection's transport sends the body the adapter serialized: the global fetch, or a registered one. */ export declare function isOpenAiCacheTransparentTransport(transport: plugins.OpenAIProviderSettings['fetch']): boolean; /** * Read the serialized request, after the adapter's own transforms. OpenAI's API counts only * through a transport known not to change the body; the ChatGPT backend counts through any, since * its budget is already the shortest one OpenAI documents. */ export declare function readOpenAiEffectiveCachePolicy(url: string, body: unknown, transparentTransport: boolean): plugins.ISmartAiOpenAiEffectiveCachePolicy | undefined;