import React from 'react'; import { RouteComponentProps } from 'react-router-dom'; import { StepDetailProps, UiStepTree } from '../../Views/Strategy/Types'; declare type Props = RouteComponentProps & StepDetailProps; export interface StepAction { /** Unique identifier for the action */ key: string; /** Text of the button */ display: React.ReactType; /** Action to take when user clicks */ onClick: (props: Props) => void; /** The button should be disabled */ isDisabled?: (props: Props) => boolean; /** The button should be hidden */ isHidden?: (props: Props) => boolean; /** The dialog should be closed when the button is clicked */ closeOnClick?: boolean; /** Text to display in tooltip */ tooltip?: (props: Props) => string | undefined; } export declare const defaultActions: StepAction[]; export declare const StepDetailsActionContext: React.Context; declare const _default: React.ComponentClass, any> & import("react-router").WithRouterStatics<(props: Props) => JSX.Element>; export default _default; //# sourceMappingURL=StepDetailsDialog.d.ts.map