import { WorkflowState } from './workflow-state'; import { StepRouter } from './step-router'; import { ApplicantService, QuestionnaireService, UploadDocumentService, AppropriatenessTestService, OverviewService, RiskScoringService, IdentityService, InvestorCategorizationService } from '../services'; import { ProgressApplicantResult } from '../types'; /** * Workflow orchestrator * Manages workflow execution and step progression */ export declare class WorkflowOrchestrator { private applicantService; private questionnaireService; private uploadDocumentService; private appropriatenessTestService; private overviewService; private riskScoringService; private investorCategorizationService; private state; private stepRouter; constructor(applicantService: ApplicantService, questionnaireService: QuestionnaireService, uploadDocumentService: UploadDocumentService, appropriatenessTestService: AppropriatenessTestService, overviewService: OverviewService, riskScoringService: RiskScoringService, _identityService: IdentityService, investorCategorizationService: InvestorCategorizationService); /** * Register all step handlers */ private registerStepHandlers; /** * Initialize workflow with applicant ID */ initialize(applicantId: number): Promise; /** * Refresh applicant progress. * * @param options.fetchStepInfo Forwarded to `Applicant/GetApplicantProgress` * so the backend returns full localized step * info. Used by the SDK whenever the user * changes language. */ refreshProgress(options?: { fetchStepInfo?: boolean; }): Promise; /** * Get data for current step */ getCurrentStepData(): Promise; /** * Submit data for current step */ submitCurrentStep(data: any): Promise; /** * Move to next step (if possible) */ moveToNextStep(): Promise; /** * Move back to previous step. * Returns null if the backend reports no valid step to go back to. */ moveToPreviousStep(): Promise; /** * Get workflow state */ getState(): WorkflowState; /** * Get step router */ getStepRouter(): StepRouter; } //# sourceMappingURL=workflow-orchestrator.d.ts.map