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