export type AgentTaskArtifact = { path: string; displayName: string; thread_id: string; updated_at: string; source: 'artifact' | 'file_change'; }; export type AgentArtifactApiEntry = { mime_type: string; displayName: string; thread_id: string; task_id: string; updated_at: string; source: AgentTaskArtifact['source']; size?: number; mtimeMs?: number; }; export declare function resolveArtifactLocalFileStats(artifactPath: string, baseDir: string): { size?: number; mtimeMs?: number; }; /** Index task-linked artifacts from thread UI events and Codex JSONL history. */ export declare function listAgentTaskArtifacts(agentId: string, maxEntries?: number): AgentTaskArtifact[]; export declare function buildAgentArtifactsApiResponse(agentId: string, baseDir: string, inferMime: (filePath: string) => string): Record; //# sourceMappingURL=agent-artifact-index.d.ts.map