import type { ITask } from '../domain'; import type { ITaskCommand } from './taskExecutor'; export interface ITaskCreateResult { ref: string; } export declare class TaskWriter { static postTaskCommand(taskCommand: ITaskCommand): PromiseLike; static cancelTask(taskId: string): PromiseLike; }