import type { RuntimeEventLike } from "@mono-agent/observability"; import type { BuiltAgentContext, ContextBlockInput, HistoryMessage, SkillIndexSummary } from "../context/index.js"; import type { AgentHarnessOptions, AgentHarnessRequest } from "../types.js"; import type { SkillsCache } from "../skills/index.js"; export declare function prepareHarnessContext(options: AgentHarnessOptions, skillsCache: SkillsCache, request: AgentHarnessRequest, contextOptions: { readonly historyMode: "messages" | "omitted"; readonly turnId: string; /** Canonical history captured under the store's conversation lease. */ readonly historyOverride?: readonly HistoryMessage[]; }, emit?: (event: RuntimeEventLike) => void): Promise<{ readonly context: BuiltAgentContext; readonly memory: ContextBlockInput | undefined; readonly skillDisclosureEntries: readonly SkillIndexSummary[]; readonly history: readonly HistoryMessage[]; readonly historyOmitted: boolean; readonly historyAsMessages: boolean; readonly toolHistoryProjection: string | undefined; }>; export declare function loadHarnessHistory(options: AgentHarnessOptions, conversationId: string, continuation?: AgentHarnessRequest["continuation"]): Promise; //# sourceMappingURL=context-preparation.d.ts.map