import { type ReactElement } from 'react';
import type { WorkflowDetailDto } from '@/services/api/communicationsApi';
interface WorkflowBuilderHeaderProps {
    readonly workflow: WorkflowDetailDto | null;
    readonly name: string;
    readonly onNameChange: (name: string) => void;
    readonly dirty: boolean;
    readonly saving: boolean;
    readonly canSave: boolean;
    readonly onSave: () => void;
    readonly onTest: () => void;
    readonly onToggleActive: () => void;
    readonly toggling: boolean;
    readonly viewMode: 'edit' | 'view';
    readonly onToggleViewMode: () => void;
}
/**
 * Top bar of the Workflow Builder. Combines breadcrumb, in-place title edit,
 * activation toggle, "Test" button (manual run) and "Save" button.
 *
 * Save button is greyed when nothing changed since last load — gives the user
 * an immediate visual cue that their edits are persisted.
 */
export declare function WorkflowBuilderHeader({ workflow, name, onNameChange, dirty, saving, canSave, onSave, onTest, onToggleActive, toggling, viewMode, onToggleViewMode }: WorkflowBuilderHeaderProps): ReactElement;
export {};
//# sourceMappingURL=WorkflowBuilderHeader.d.ts.map