/** * The following code is modified based on * https://github.com/nanobrowser/nanobrowser/blob/master/chrome-extension/src/background/agent/prompts/validator.ts * * Apache-2.0 License * Copyright (c) 2024 alexchenzl * https://github.com/nanobrowser/nanobrowser/blob/master/LICENSE */ import { BasePrompt } from './base'; import { type HumanMessage, SystemMessage } from '@langchain/core/messages'; import type { AgentContext } from '../types'; export declare class ValidatorPrompt extends BasePrompt { private tasks; constructor(task: string); private tasksToValidate; getSystemMessage(): SystemMessage; /** * Get the user message for the validator prompt * @param context - The agent context * @returns The user message */ getUserMessage(context: AgentContext): Promise; addFollowUpTask(task: string): void; } //# sourceMappingURL=validator.d.ts.map