import { ReactNode } from 'react'; import { StyledButtonType } from '../../../inputs/button'; import { DynamicToolbarAction } from '../../../custom/module/header-layout/planToolbarActions'; import { ToolbarLocale } from '../../../custom/module/header-layout/useTranslations'; /** One of the two right-cluster buttons (Figma "Right": Cancel + primary). */ export interface StyledDialogFooterButton { label: string; onClick?: () => void; /** Rendered as `aria-disabled`, not native `disabled`: the button stays focusable, so keyboard users reach its `tooltip`. A click does nothing. */ disabled?: boolean; /** `submit` lets the footer drive the surrounding `