import React from 'react'; import { reportSubmissionError } from '../../Actions/QuestionActions'; import { RecordClass, Question } from '../../Utils/WdkModel'; import { StrategyDetails, StepTree, Step } from '../../Utils/WdkUser'; import { AddType, PartialUiStepTree } from '../../Views/Strategy/Types'; import '../../Views/Strategy/AddStepPanel.scss'; declare type StateProps = { inputRecordClass?: RecordClass; stepsCompletedNumber?: number; previousStep?: Step; operandStep?: Step; outputStep?: Step; questions?: Question[]; recordClasses?: RecordClass[]; }; declare type DispatchProps = { loadStrategy: (strategyId: number) => void; requestPutStrategyStepTree: (strategyId: number, newStepTree: StepTree) => void; reportSubmissionError: typeof reportSubmissionError; }; declare type OwnProps = { strategy: StrategyDetails; addType: AddType; onHideInsertStep: () => void; uiStepTree: PartialUiStepTree; }; declare type Props = StateProps & DispatchProps & OwnProps; export declare type AddStepOperationMenuProps = { strategy: StrategyDetails; inputRecordClass: RecordClass; startOperationForm: (formType: string, initialPage: string) => void; updateStrategy: (newStepId: number, newSecondaryInput: StepTree) => void; addType: AddType; stepsCompletedNumber: number; operandStep: Step; previousStep?: Step; outputStep?: Step; questions: Question[]; questionsByUrlSegment: Record; recordClasses: RecordClass[]; recordClassesByUrlSegment: Record; onHideInsertStep: () => void; reportSubmissionError: typeof reportSubmissionError; }; export declare type AddStepOperationFormProps = { strategy: StrategyDetails; inputRecordClass: RecordClass; currentPage: string; advanceToPage: (nextPage: string) => void; replacePage: (nextPage: string) => void; updateStrategy: (newStepId: number, newSecondaryInput: StepTree) => void; addType: AddType; stepsCompletedNumber: number; operandStep: Step; previousStep?: Step; outputStep?: Step; questions: Question[]; questionsByUrlSegment: Record; recordClasses: RecordClass[]; recordClassesByUrlSegment: Record; onHideInsertStep: () => void; reportSubmissionError: typeof reportSubmissionError; }; export declare const AddStepPanelView: import("../../Utils/ComponentUtils").ComponentWrapper; export declare const AddStepPanel: import("react-redux").ConnectedComponent, Pick> & StateProps & DispatchProps & OwnProps, "ref" | "key"> & OwnProps>; export {}; //# sourceMappingURL=AddStepPanel.d.ts.map