/**
 * Prompt cache boundary — splits the system prompt into a stable prefix (cacheable
 * by providers like Anthropic) and a dynamic suffix (changes per turn/session).
 *
 * xopc uses a system-prompt-cache-boundary pattern.
 */
export declare const PROMPT_CACHE_BOUNDARY = "\n<!-- XOPC_CACHE_BOUNDARY -->\n";
/**
 * Strip the cache boundary marker from a prompt string.
 */
export declare function stripPromptCacheBoundary(text: string): string;
/**
 * Split a system prompt at the cache boundary.
 * Returns undefined if no boundary is found.
 */
export declare function splitPromptCacheBoundary(text: string): {
    stablePrefix: string;
    dynamicSuffix: string;
} | undefined;
/**
 * Normalize a prompt section for cache stability.
 * Trims trailing whitespace per line, normalizes line endings, trims overall.
 */
export declare function normalizePromptSection(text: string): string;
