import type { Api, Model, SimpleStreamOptions } from '@earendil-works/pi-ai'; import { type PromptCachePlan, type PromptCachePolicy } from './prompt-cache-plan.js'; export declare function buildPromptCacheKey(model: Model, context: { systemPrompt?: string; tools?: unknown[]; }, reasoning?: string): string; export declare function buildPromptCachePlan(model: Model, context: { systemPrompt?: string; tools?: unknown[]; }, policyInput?: PromptCachePolicy, reasoning?: string): PromptCachePlan; export declare function transformPromptCachePayload(model: Model, payload: unknown, plan?: PromptCachePlan, context?: { systemPrompt?: string; }): unknown; export declare function preparePromptCacheContext(model: Model, context: T): T; export declare function withPromptCachePayloadTransform(model: Model, context: { systemPrompt?: string; tools?: unknown[]; }, options: SimpleStreamOptions | undefined, policyInput?: PromptCachePolicy): SimpleStreamOptions;