/** Props for {@link WorkflowArchitectDialog}. */
export interface WorkflowArchitectDialogProps {
    /** Whether the dialog is open. */
    readonly open: boolean;
    /** Called when the dialog should close (cancel, backdrop click, Escape). */
    readonly onOpenChange: (open: boolean) => void;
    /** Organization slug for generation context and workflow creation. */
    readonly org: string;
    /**
     * Called after the workflow is created successfully.
     * Receives the org slug and workflow slug for navigation.
     */
    readonly onSuccess: (org: string, slug: string) => void;
    /**
     * Called when generation or creation fails. Receives a human-readable message.
     * Use for toast notifications.
     */
    readonly onError?: (message: string) => void;
}
/**
 * Three-phase dialog for generating a workflow via the Workflow Architect agent.
 *
 * **Phase 1 (Input)**: The user describes the workflow they want.
 *
 * **Phase 2 (Streaming)**: The agent works in real-time — querying task kinds,
 * validating YAML, iterating on the design. Messages and tool calls stream
 * into a `MessageThread` inside the dialog.
 *
 * **Phase 3 (Result)**: The validated YAML is extracted from the agent's
 * response, shown in a read-only preview alongside the agent's explanation.
 * The user can create the workflow, try again, or close.
 *
 * Uses the same `<dialog>` + `showModal()` pattern as `WorkflowRunDialog`.
 * Styled via `--stgm-*` design tokens (DD-005).
 *
 * @example
 * ```tsx
 * <WorkflowArchitectDialog
 *   open={showDialog}
 *   onOpenChange={setShowDialog}
 *   org="acme"
 *   onSuccess={(org, slug) => router.push(`/library/workflows/${org}/${slug}`)}
 *   onError={(msg) => toast.error(msg)}
 * />
 * ```
 */
export declare function WorkflowArchitectDialog({ open, onOpenChange, org, onSuccess, onError, }: WorkflowArchitectDialogProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=WorkflowArchitectDialog.d.ts.map