import { Genkit, z } from 'genkit'; import { PromptMetadata } from 'dotprompt'; import { DatapromptFile } from '../core/interfaces.js'; import { PluginRegistry } from '../core/registry.js'; export declare const FlowInputSchema: z.ZodObject<{ request: z.ZodObject<{ method: z.ZodOptional; url: z.ZodString; headers: z.ZodOptional>; params: z.ZodOptional]>>>; query: z.ZodOptional]>>>; body: z.ZodOptional; form: z.ZodOptional>; text: z.ZodOptional; }, "strip", z.ZodTypeAny, { json?: any; form?: Record | undefined; text?: string | undefined; }, { json?: any; form?: Record | undefined; text?: string | undefined; }>>; requestId: z.ZodOptional; }, "strip", z.ZodTypeAny, { url: string; method?: string | undefined; params?: Record | undefined; headers?: Record | undefined; query?: Record | undefined; body?: { json?: any; form?: Record | undefined; text?: string | undefined; } | undefined; requestId?: string | undefined; }, { url: string; method?: string | undefined; params?: Record | undefined; headers?: Record | undefined; query?: Record | undefined; body?: { json?: any; form?: Record | undefined; text?: string | undefined; } | undefined; requestId?: string | undefined; }>; }, "strip", z.ZodTypeAny, { request: { url: string; method?: string | undefined; params?: Record | undefined; headers?: Record | undefined; query?: Record | undefined; body?: { json?: any; form?: Record | undefined; text?: string | undefined; } | undefined; requestId?: string | undefined; }; }, { request: { url: string; method?: string | undefined; params?: Record | undefined; headers?: Record | undefined; query?: Record | undefined; body?: { json?: any; form?: Record | undefined; text?: string | undefined; } | undefined; requestId?: string | undefined; }; }>; export interface FlowDefinition { name: string; routePath: string; template: string; outputSchema?: z.ZodType; promptMetadata: PromptMetadata; data?: { prompt?: { sources?: Record>; result?: Record>; trigger?: Record; }; }; } export declare function createPromptFlow(ai: Genkit, flowDef: FlowDefinition, registry: PluginRegistry, file: DatapromptFile): import("genkit").Action; url: z.ZodString; headers: z.ZodOptional>; params: z.ZodOptional]>>>; query: z.ZodOptional]>>>; body: z.ZodOptional; form: z.ZodOptional>; text: z.ZodOptional; }, "strip", z.ZodTypeAny, { json?: any; form?: Record | undefined; text?: string | undefined; }, { json?: any; form?: Record | undefined; text?: string | undefined; }>>; requestId: z.ZodOptional; }, "strip", z.ZodTypeAny, { url: string; method?: string | undefined; params?: Record | undefined; headers?: Record | undefined; query?: Record | undefined; body?: { json?: any; form?: Record | undefined; text?: string | undefined; } | undefined; requestId?: string | undefined; }, { url: string; method?: string | undefined; params?: Record | undefined; headers?: Record | undefined; query?: Record | undefined; body?: { json?: any; form?: Record | undefined; text?: string | undefined; } | undefined; requestId?: string | undefined; }>; }, "strip", z.ZodTypeAny, { request: { url: string; method?: string | undefined; params?: Record | undefined; headers?: Record | undefined; query?: Record | undefined; body?: { json?: any; form?: Record | undefined; text?: string | undefined; } | undefined; requestId?: string | undefined; }; }, { request: { url: string; method?: string | undefined; params?: Record | undefined; headers?: Record | undefined; query?: Record | undefined; body?: { json?: any; form?: Record | undefined; text?: string | undefined; } | undefined; requestId?: string | undefined; }; }>, z.ZodType, z.ZodTypeAny>; //# sourceMappingURL=flow-builder.d.ts.map