import type { SkillSnapshot } from "../agents/skills.js"; import type { SessionSystemPromptReport } from "../config/sessions/types.js"; import type { OpenClawConfig } from "../config/types.openclaw.js"; type BuildTrajectoryRunMetadataParams = { env?: NodeJS.ProcessEnv; config?: OpenClawConfig; workspaceDir: string; sessionFile?: string; sessionKey?: string; agentId?: string; trigger?: string; messageProvider?: string; messageChannel?: string; provider?: string; modelId?: string; modelApi?: string | null; timeoutMs: number; fastMode?: boolean; thinkLevel?: string; reasoningLevel?: string; toolResultFormat?: string; disableTools?: boolean; toolsAllow?: string[]; skillsSnapshot?: SkillSnapshot; systemPromptReport?: SessionSystemPromptReport; userPromptPrefixText?: string; }; type BuildTrajectoryArtifactsParams = { status: "success" | "error" | "interrupted" | "cleanup"; aborted: boolean; externalAbort: boolean; timedOut: boolean; idleTimedOut: boolean; timedOutDuringCompaction: boolean; timedOutDuringToolExecution: boolean; promptError?: string; promptErrorSource?: string | null; usage?: unknown; promptCache?: unknown; compactionCount: number; assistantTexts: string[]; finalPromptText?: string; itemLifecycle: { startedCount: number; completedCount: number; activeCount: number; }; toolMetas: Array<{ toolName: string; meta?: string; }>; didSendViaMessagingTool: boolean; successfulCronAdds: number; messagingToolSentTexts: string[]; messagingToolSentMediaUrls: string[]; messagingToolSentTargets: unknown[]; lastToolError?: unknown; }; export declare function buildTrajectoryRunMetadata(params: BuildTrajectoryRunMetadataParams): Record; export declare function buildTrajectoryArtifacts(params: BuildTrajectoryArtifactsParams): Record; export {};