import type { PromptSegment } from "../types.js"; import type { ValidationResult } from "./types.js"; /** Parses decoded prompt text (no surrounding quotes) into prompt segments. */ export declare function parsePromptToSegments(prompt: string): PromptSegment[]; export declare function validateMutationPrompt(currentPrompt: string, proposedPrompt: string): ValidationResult; /** * Validates a replacement value for an optimized string declaration: the * replacement must be non-empty and preserve the multiset of `${...}` * interpolation placeholders, compared by canonical rendered expression. */ export declare function validateOptimizedStringValue(currentValue: string, proposedValue: string): ValidationResult;