import { AgentFunctionResult } from '../agent-core/index.js';
import { AgentFunctionBase } from './utils/index.js';
import { Agent } from '../agents/index.js';
interface OnGoalFailedFuncParameters {
    message: string;
}
export declare class OnGoalFailedFunction extends AgentFunctionBase<OnGoalFailedFuncParameters> {
    name: string;
    description: string;
    parameters: any;
    buildExecutor(agent: Agent<unknown>): (params: OnGoalFailedFuncParameters, rawParams?: string | undefined) => Promise<AgentFunctionResult>;
    onSuccess(agent: Agent, params: OnGoalFailedFuncParameters, rawParams: string | undefined, result: string): {
        outputs: {
            type: "success";
            title: string;
            content: string;
        }[];
        messages: (import("openai/resources/index.mjs").ChatCompletionAssistantMessageParam | import("openai/resources/index.mjs").ChatCompletionFunctionMessageParam)[];
    };
    onFailure(agent: Agent, params: OnGoalFailedFuncParameters, rawParams: string | undefined, error: string): {
        outputs: {
            type: "error";
            title: string;
            content: string;
        }[];
        messages: (import("openai/resources/index.mjs").ChatCompletionAssistantMessageParam | import("openai/resources/index.mjs").ChatCompletionFunctionMessageParam)[];
    };
}
export {};
