import { z } from 'zod';
import type { ToolExecutionObserver } from './observer.js';
export declare function extractWorkflowMapHeader(source: string): string | undefined;
export declare function resolveLocalWorkflowDiagram(workflowId: string): string | undefined;
export declare function resolveWorkflowDiagram(workflowId: string, fallbackDiagram?: string): string | undefined;
export declare function createPresentWorkflowResultTool(observer?: ToolExecutionObserver): import("ai").Tool<z.ZodObject<{
    workflowId: z.ZodString;
    workflowUrl: z.ZodString;
    title: z.ZodOptional<z.ZodString>;
    diagram: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    workflowId: string;
    workflowUrl: string;
    title?: string | undefined;
    diagram?: string | undefined;
}, {
    workflowId: string;
    workflowUrl: string;
    title?: string | undefined;
    diagram?: string | undefined;
}>, {
    presented: boolean;
    workflowId: string;
    workflowUrl: string;
    targetWorkflowUrl: string;
    title: string | null;
}> & {
    execute: (args: {
        workflowId: string;
        workflowUrl: string;
        title?: string | undefined;
        diagram?: string | undefined;
    }, options: import("ai").ToolExecutionOptions) => PromiseLike<{
        presented: boolean;
        workflowId: string;
        workflowUrl: string;
        targetWorkflowUrl: string;
        title: string | null;
    }>;
};
//# sourceMappingURL=present-workflow-result.d.ts.map