import React from 'react'; import { StrategySummary, SaveStrategyOptions, EditStrategySpec, User } from '../../Utils/WdkUser'; import './StrategyControls.scss'; interface OwnProps { activeModal?: { type: string; strategyId: number; }; strategySummaries?: StrategySummary[]; } interface DispatchProps { setActiveModal: (activeModal: { type: string; strategyId: number; }) => void; clearActiveModal: () => void; showLoginWarning: (attemptedAction: string) => void; copyStrategy: (strategyId: number) => void; deleteStrategy: (strategyId: number) => void; renameStrategy: (strategyId: number, name: string) => void; saveStrategy: (strategyId: number, targetName: string, options: SaveStrategyOptions) => void; editStrategy: (strategyId: number, properties: EditStrategySpec) => void; } declare type Props = OwnProps & DispatchProps; interface ActionProps extends DispatchProps { strategy: StrategySummary; strategySummaries: StrategySummary[]; } interface StrategyAction { iconName: string; title: string; render: React.ReactType; loginRequired?: boolean; } export declare const StrategyActions: Record; declare function _StrategyActionModal(props: Props): JSX.Element | null; export declare const StrategyActionModal: import("react-redux").ConnectedComponent>; interface StrategyControlsProps { strategyId: number; user?: User; } declare function _StrategyControls(props: StrategyControlsProps & DispatchProps): JSX.Element; export declare const StrategyControls: import("react-redux").ConnectedComponent>; export {}; //# sourceMappingURL=StrategyControls.d.ts.map