//#region src/domains/run/utils/json-postprocessor.d.ts
/**
 * Simple post-processor to clean up common LLM JSON formatting issues
 */
declare function stripJsonCodeBlocks(text: string): string;
/**
 * Configuration helper to add JSON post-processing to structured output generateText calls
 */
declare function withJsonPostProcessing<T extends Record<string, any>>(config: T): T & {
  experimental_transform?: (text: string) => string;
};
//#endregion
export { stripJsonCodeBlocks, withJsonPostProcessing };