import type { ChatMessage } from '../chat/transcript/messages'; import { PromptString } from './prompt-string'; /** * Prompt mixins elaborate every prompt presented to the LLM. * Add a prompt mixin to prompt for cross-cutting concerns relevant to multiple commands. */ export declare class PromptMixin { private readonly prompt; private static mixins; private static defaultMixin; /** * Prepends all mixins to `humanMessage`. Modifies and returns `humanMessage`. * Add hedging prevention prompt to specific models who need this. */ static mixInto(humanMessage: ChatMessage, modelID: string): ChatMessage; /** * Creates a mixin with the given, fixed prompt to insert. */ constructor(prompt: PromptString); } export declare function newPromptMixin(text: PromptString): PromptMixin; //# sourceMappingURL=prompt-mixin.d.ts.map