import type { SystemMessage } from '../../../llm/index.js'; import type { MastraMemory } from '../../../memory/memory.js'; import type { MemoryConfigInternal, StorageThreadType } from '../../../memory/types.js'; import type { ProcessorState } from '../../../processors/runner.js'; import type { RequestContext } from '../../../request-context/index.js'; import type { InnerAgentExecutionOptions } from '../../agent.types.js'; import { MessageList } from '../../message-list/index.js'; import type { AgentMethodType } from '../../types.js'; import type { AgentCapabilities } from './schema.js'; interface PrepareMemoryStepOptions { capabilities: AgentCapabilities; options: InnerAgentExecutionOptions; threadFromArgs?: (Partial & { id: string; }) | undefined; resourceId?: string; runId: string; requestContext: RequestContext; methodType: AgentMethodType; instructions: SystemMessage; memoryConfig?: MemoryConfigInternal; memory?: MastraMemory; isResume?: boolean; } export declare function createPrepareMemoryStep({ capabilities, options, threadFromArgs, resourceId, runId: _runId, requestContext, instructions, memoryConfig, memory, isResume, }: PrepareMemoryStepOptions): import("../../../workflows").Step<"prepare-memory-step", unknown, Record, { threadExists: boolean; messageList: MessageList; processorStates: Map>; thread?: { id: string; resourceId: string; createdAt: Date; updatedAt: Date; title?: string | undefined; metadata?: Record | undefined; } | undefined; tripwire?: { reason: string; retry?: boolean | undefined; metadata?: unknown; processorId?: string | undefined; } | undefined; }, unknown, unknown, import("../../../workflows").DefaultEngineType, unknown>; export {}; //# sourceMappingURL=prepare-memory-step.d.ts.map