import { JsonRecord, StoredTaskResult } from "./types"; export declare function writeTaskDefinition(runDir: string, effectId: string, taskDef: JsonRecord): Promise; export declare function readTaskDefinition(runDir: string, effectId: string): Promise; export declare function readTaskResult(runDir: string, effectId: string, resultRef?: string): Promise; export interface WriteTaskResultOptions { runDir: string; effectId: string; result: StoredTaskResult; stdout?: string; stderr?: string; } export declare function writeTaskResult(options: WriteTaskResultOptions): Promise<{ resultRef: string; stdoutRef: string | undefined; stderrRef: string | undefined; }>; //# sourceMappingURL=tasks.d.ts.map