import type { ToolErrorResult, ToolBaseResult } from "./types.js";
export declare function createOkBase(projectId: string, warnings?: readonly string[]): ToolBaseResult;
export declare function createToolError(errorCode: string, detail: string): ToolErrorResult;
export declare function toMcpText(result: unknown): {
    content: [{
        type: "text";
        text: string;
    }];
};
export declare function toMcpSuccess(summary: string, structuredContent: Record<string, unknown>): {
    content: [{
        type: "text";
        text: string;
    }];
    structuredContent: Record<string, unknown>;
};
export declare function toMcpError(errorCode: string, detail: string, projectId?: string): {
    content: [{
        type: "text";
        text: string;
    }];
    structuredContent: ToolErrorResult;
    isError: true;
};
