import { PromptTemplate } from "@langchain/core/prompts"; export declare const getSystemPrompt: (persona: string, provider?: string) => string; export declare const invokeRequestGenerationPrompt: ({ persona, method, path, handler, handlerContext, history, openApiSpec, middleware, middlewareContext, prompt, }: { persona: string; method: string; path: string; handler: string; handlerContext?: string; history?: Array; openApiSpec?: string; middleware?: { handler: string; method: string; path: string; }[]; middlewareContext?: string; prompt?: string; }) => Promise; /** * A friendly tester prompt. * * This prompt is used to generate requests for the API. * It is a friendly tester, who tries to help you succeed. */ export declare const friendlyTesterPrompt: PromptTemplate, any>; export declare const qaTesterPrompt: PromptTemplate, any>; export declare const FRIENDLY_PARAMETER_GENERATION_SYSTEM_PROMPT: string; /** * A QA (hostile) tester prompt. * * This prompt is used to generate requests for the API. * It is a QA tester, who tries to break your api. * * NOTE - I had to stop instructing the AI to create very long data in this prompt. * It would end up repeating 9999999 ad infinitum and break JSON responses. */ export declare const QA_PARAMETER_GENERATION_SYSTEM_PROMPT: string; export declare const LLAMA_3_8B_FRIENDLY_PARAMETER_GENERATION_SYSTEM_PROMPT: string; /** * A QA (hostile) tester prompt. * * This prompt is used to generate requests for the API. * It is a QA tester, who tries to break your api. * * NOTE - I had to stop instructing the AI to create very long data in this prompt. * It would end up repeating 9999999 ad infinitum and break JSON responses. */ export declare const LLAMA_3_8B_QA_PARAMETER_GENERATION_SYSTEM_PROMPT: string; /** * Clean a prompt by trimming whitespace for each line and joining the lines. */ export declare function cleanPrompt(prompt: string): string;