/** @packageDocumentation
 * @module WorkflowTask
 */
import { ItemDefBase } from "../shared/ItemDefBase";
import { ItemProps } from "../shared/ItemProps";
/** Properties for a [[Task]]
 * @internal
 * @deprecated in 3.0. Task is obsolete.
 */
export interface TaskProps extends ItemProps {
    id: string;
    primaryStageId: string;
}
/** List of Task Properties
 * @internal
 * @deprecated in 3.0. Task is obsolete.
 */
export interface TaskPropsList {
    tasks: TaskProps[];
}
/** Task class.
 * A Task is a specific piece of work to accomplish.
 * A Task refers to a Frontstage to activate.
 * @internal
 * @deprecated in 3.0. Task is obsolete.
 */
export declare class Task extends ItemDefBase {
    taskId: string;
    primaryStageId: string;
    constructor(taskProps: TaskProps);
    get id(): string;
    get isActive(): boolean;
    set isActive(_: boolean);
    onActivated(): Promise<void>;
}
/** Task Manager class.
 * @internal
 * @deprecated in 3.0. TaskManager is obsolete.
 */
export declare class TaskManager {
    private static _tasks;
    static loadTasks(taskListDef: TaskPropsList): void;
    static loadTaskDefs(taskDefs: TaskProps[]): void;
    static loadTaskDef(taskDef: TaskProps): void;
    static findTask(taskId: string): Task | undefined;
    static addTask(taskId: string, task: Task): void;
}
//# sourceMappingURL=Task.d.ts.map