import { ReactNode } from '../../../../node_modules/react'; import { ChipProps } from '../../../components'; export interface FlowCanvasHeaderProps { /** Name of the workflow entity. */ title: string; /** Renders the back button when present; omit to hide it. */ onBack?: () => void; /** Optional version chip next to the title, e.g. `{ label: 'v3' }`. */ versionChipProps?: ChipProps; /** Optional status chip next to the title, e.g. `{ label: 'Draft', color: 'warning' }`. */ statusChipProps?: ChipProps; /** * The right-hand action area. A generic, appendable slot — compose your own Publish * `ButtonGroup`, Test `Button`, save-version `IconButton`, or anything else (an * `Autocomplete`, a `Select`) here. The design system has no built-in "publish"/"test" * vocabulary; these are app-specific actions. */ rightSlot?: ReactNode; } /** * FlowCanvasHeader — the page-level header that sits above a workflow canvas: back * button, entity name, and optional version/status chips on the left; an appendable * action area on the right. Unlike `FlowCanvasToolbar`/`FlowToolbar`, this is plain * document flow, not a React Flow `` — a consumer places it above their * ``, not inside it. */ export declare function FlowCanvasHeader({ title, onBack, versionChipProps, statusChipProps, rightSlot }: FlowCanvasHeaderProps): import("react/jsx-runtime").JSX.Element;