/** * Persistent Agent Artifact Utilities * * Provides: * - writeLastAgentReport: Persists the latest agent workflow report. * - readLastAgentReport: Loads the latest agent workflow report. * - writeBoardReport: Persists board intelligence report output. * - readBoardReport: Loads the cached board intelligence report. */ import type { AgentBoardReport, LastAgentReport } from "../types.js"; /** * Resolves the workspace artifact directory. * * @param projectDir - Project root directory. * @returns Absolute path to `.pio-mcp-workspace`. */ export declare function getWorkspaceArtifactsDir(projectDir: string): string; /** * Resolves the file path of the persistent last-agent report. * * @param projectDir - Project root directory. * @returns Absolute file path for `lastAgentReport.json`. */ export declare function getLastAgentReportPath(projectDir: string): string; /** * Resolves the file path of the persistent board report. * * @param projectDir - Project root directory. * @returns Absolute file path for `boardReport.json`. */ export declare function getBoardReportPath(projectDir: string): string; /** * Persists the latest agent workflow report. * * @param projectDir - Project root directory. * @param report - Agent report payload. */ export declare function writeLastAgentReport(projectDir: string, report: LastAgentReport): void; /** * Reads the latest agent workflow report. * * @param projectDir - Project root directory. * @returns Parsed last-agent report, if present. */ export declare function readLastAgentReport(projectDir: string): LastAgentReport | null; /** * Persists the board intelligence report. * * @param projectDir - Project root directory. * @param report - Board report payload. */ export declare function writeBoardReport(projectDir: string, report: AgentBoardReport): void; /** * Reads the cached board intelligence report. * * @param projectDir - Project root directory. * @returns Parsed board report, if present. */ export declare function readBoardReport(projectDir: string): AgentBoardReport | null; //# sourceMappingURL=artifacts.d.ts.map