export type TrimType = "start" | "end" | "both" | "none"; export type Prompt = { text: string; trimCompletionWhitespace?: TrimType; trimPromptWhitespace?: TrimType; validateRegex?: string; }; export declare function getVariablesFromPrompt(prompt: Prompt): string[]; export declare function replaceVariablesInPrompt(promptText: string, parameters: Record): { prompt: string; suffix?: undefined; } | { prompt: string; suffix: string; };