/**
 * Regenerate a Plan Build workflow from its original prompt + compilation feedback.
 *
 * Reuses the builder's LLM call and prompt structure without spawning a full
 * durable workflow. This is the fast path for "Recompile Pipeline" on Plan Build
 * workflows that don't have an execution trace.
 */
interface RebuildResult {
    yaml: string;
    inputSchema: Record<string, unknown>;
    outputSchema: Record<string, unknown>;
    activityManifest: unknown[];
    tags: string[];
}
/**
 * Rebuild a YAML workflow from a prompt with optional feedback on the prior attempt.
 */
export declare function rebuildFromPrompt(options: {
    prompt: string;
    feedback?: string;
    priorYaml?: string;
    name: string;
    appId: string;
}): Promise<RebuildResult>;
export {};
