import { ModelSettings } from "@inkeep/agents-core";

//#region src/domains/run/agents/generation/caching-actuator.d.ts
type ProviderOptionsBag = Record<string, unknown>;
type CacheableMessage = {
  role?: unknown;
  providerOptions?: ProviderOptionsBag;
  [key: string]: unknown;
};
type CacheableConfig = {
  providerOptions?: ProviderOptionsBag;
  messages?: CacheableMessage[];
  [key: string]: unknown;
};
declare function attachPromptCaching<T extends CacheableConfig>(config: T, modelSettings: ModelSettings): T;
//#endregion
export { attachPromptCaching };