/** * Get the output directory path for a given cwd * Returns: {cwd}/.super-agents/ */ export declare function getOutputDir(cwd: string): string; /** * Get the output file path for a task * Returns: {cwd}/.super-agents/{taskId}.output */ export declare function getOutputPath(cwd: string, taskId: string): string; /** * Create an empty output file for a task (sync — called once at task creation, not hot path) * Returns the absolute path to the output file, or null on failure */ export declare function createOutputFile(cwd: string, taskId: string): string | null; /** * Append a line to the task's output file (async — hot path, called every poll cycle). * Fire-and-forget: callers don't await this. Errors are silently swallowed * because the in-memory output[] is the source of truth for MCP resources. */ export declare function appendToOutputFile(cwd: string, taskId: string, line: string): void; /** * Append completion footer to output file (async — called once at task completion) */ export declare function finalizeOutputFile(cwd: string, taskId: string, status: string, error?: string): void; //# sourceMappingURL=output-file.d.ts.map