/** Props for {@link WorkflowRefinePanel}. */
export interface WorkflowRefinePanelProps {
    /** Organization slug for refinement context. */
    readonly org: string;
    /** Current workflow YAML from the editor. */
    readonly currentYaml: string;
    /** Called when the user accepts a refinement. Receives the updated YAML. */
    readonly onAccept: (yaml: string) => void;
    /** Called when the panel should close. */
    readonly onClose: () => void;
    /**
     * When provided, auto-sends this instruction on mount (e.g. from "Fix with AI").
     * Consumed once — subsequent renders with the same value are ignored.
     */
    readonly initialInstruction?: string;
    /** Additional CSS class names. */
    readonly className?: string;
}
/**
 * Side panel for agent-powered iterative workflow refinement.
 *
 * Renders inside the editor's right pane (replacing the topology graph
 * in code mode, or as a sidebar in visual mode). Layout:
 *
 * 1. **Header** — title + close button
 * 2. **MessageThread** — streaming agent conversation (all turns)
 * 3. **Result strip** — diff preview + accept/discard (when YAML extracted)
 * 4. **Composer** — textarea + send button (pinned to bottom)
 *
 * Powered by the Workflow Architect system agent via
 * {@link useRefineWorkflowFlow}. Styled via `--stgm-*` design tokens.
 * Zero console dependencies (DD-004).
 */
export declare function WorkflowRefinePanel({ org, currentYaml, onAccept, onClose, initialInstruction, className, }: WorkflowRefinePanelProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=WorkflowRefinePanel.d.ts.map