interface StepInputBase {
    dependsOn?: string[];
    onFailure?: "abort" | "skip" | "retry";
    retryLimit?: number;
    outputKey?: string;
    timeout?: number;
    label: string;
}
export interface ToolStepInput extends StepInputBase {
    type: "tool";
    plugin: string;
    tool: string;
    params?: Record<string, unknown>;
}
export interface LlmStepInput extends StepInputBase {
    type: "llm";
    prompt: string;
    model?: string;
    maxTokens?: number;
    /** "fail" (default) or "raw" (emit degraded output on LLM unavailability). */
    fallbackMode?: "fail" | "raw";
    /** Custom fallback template, used only with fallbackMode="raw". Max 4 KB. */
    fallbackTemplate?: string;
}
export type StepInput = ToolStepInput | LlmStepInput;
export interface WorkflowCreateParams {
    accountId: string;
    name: string;
    description: string;
    steps: StepInput[];
}
export interface WorkflowCreateResult {
    workflowId: string;
    status: "active" | "draft";
    validationErrors: string[];
}
export declare function workflowCreate(params: WorkflowCreateParams): Promise<WorkflowCreateResult>;
export {};
//# sourceMappingURL=workflow-create.d.ts.map