import type { TaskGroupConfig } from '../../adaptiveWorkflow/components/types';
export declare const adaptiveWorkflowResponse: AweWorkflowResponse;
export interface WorkflowEntity {
    id: string;
    type: 'LegalEntity';
    version: string;
}
export interface WorkflowGlobalTypeMap {
    string: string;
    boolean: boolean;
    number: number;
    array: unknown[];
}
export type WorkflowGlobalType = keyof WorkflowGlobalTypeMap;
export type WorkflowGlobal<T extends WorkflowGlobalType = WorkflowGlobalType> = {
    value: WorkflowGlobalTypeMap[T];
    type: T;
};
export type WorkflowGlobals = Record<string, WorkflowGlobal>;
/**
 * Status - used for global status of onboarding workflow and for individual field statuses:
 * - `DETAILS_REQUIRED` — there are requirements which are unmet and incomplete (no data)
 * - `ACTION_REQUIRED` — there are requirements require action from user (ex. invalid)
 * - `ACTIVATION` — = all requested requirements are in a pending state (ex. in review)
 * - `READY` — all requested requirements are satisfied
 */
export type WorkflowStatus = 'DETAILS_REQUIRED' | 'ACTION_REQUIRED' | 'ACTIVATION' | 'READY';
/**
 * Response from Adaptive Workflow Engine (AWE).
 * @param entity - the root legal entity associated with the workflow
 * @param globals - key-value map of global variables shared across all tasks
 * @param globalStatus - overall status of the onboarding workflow
 * @param taskGroups - task groups used to render UI
 */
export interface AweWorkflowResponse {
    entity: WorkflowEntity;
    globals: WorkflowGlobals;
    globalStatus: WorkflowStatus;
    taskGroups: TaskGroupConfig[];
}
