import type { ReadonlySignal } from '@preact/signals';
import type { WorkflowEntity, WorkflowGlobals } from '../../api/adaptive/adaptiveWorkflow.types';
import type { TaskStatus } from '../../stores/globalStore/taskStatus';
export type TaskStatusMap = Record<string, TaskStatus>;
export interface WorkflowContextValue {
    globals: ReadonlySignal<WorkflowGlobals>;
    setGlobals: (val: WorkflowGlobals) => void;
    updateGlobals: (val: WorkflowGlobals) => void;
    entity: ReadonlySignal<WorkflowEntity | undefined>;
    setEntity: (val: WorkflowEntity) => void;
    taskStatuses: ReadonlySignal<TaskStatusMap>;
    setTaskStatuses: (statuses: TaskStatusMap) => void;
    updateTaskStatus: (taskId: string, status: TaskStatus) => void;
}
export declare const WorkflowContext: import("preact").Context<WorkflowContextValue | undefined>;
