import type { Model } from "@oh-my-pi/pi-catalog/types"; import type { Context } from "../types.js"; /** Rewrite every pooled source in `text` with this install's variant. */ export declare function perturbPromptText(text: string): string; /** Whether requests to `model` are perturbed: `OMP_PROMPT_PERTURBATION` (`0`/`1`) wins over the KDL axis. */ export declare function isPromptPerturbationEnabled(model: Model): boolean; /** * Rewrite the model-visible prose of a request to `model` when perturbation is * enabled for it: system-prompt blocks and every tool description, including * tools Anthropic may activate later. */ export declare function perturbContext(model: Model, context: Context): Context; /** Drop the memoized choices; tests and long-lived processes that adopt a new install id call this. */ export declare function resetPromptPerturbation(): void;