import type { SystemMessage } from '../../../llm/index.js';
import type { MastraMemory } from '../../../memory/memory.js';
import type { MemoryConfigInternal, StorageThreadType } from '../../../memory/types.js';
import type { RequestContext } from '../../../request-context/index.js';
import type { InnerAgentExecutionOptions } from '../../agent.types.js';
import type { AgentMethodType } from '../../types.js';
import type { PrepareStreamRunScope } from './run-scope.js';
import type { AgentCapabilities } from './schema.js';
interface PrepareMemoryStepOptions<OUTPUT = undefined> {
    capabilities: AgentCapabilities;
    options: InnerAgentExecutionOptions<OUTPUT>;
    threadFromArgs?: (Partial<StorageThreadType> & {
        id: string;
    }) | undefined;
    resourceId?: string;
    runId: string;
    requestContext: RequestContext;
    methodType: AgentMethodType;
    instructions: SystemMessage;
    /** MCP server guidance to include as a separate system message. */
    mcpServerGuidance?: string;
    memoryConfig?: MemoryConfigInternal;
    memory?: MastraMemory;
    isResume?: boolean;
    runScope: PrepareStreamRunScope<OUTPUT>;
}
export declare function createPrepareMemoryStep<OUTPUT = undefined>({ capabilities, options, threadFromArgs, resourceId, runId: _runId, requestContext, instructions, mcpServerGuidance, memoryConfig, memory, isResume, runScope, }: PrepareMemoryStepOptions<OUTPUT>): import("../../../workflows").Step<"prepare-memory-step", unknown, Record<string, never>, {
    threadExists: boolean;
    thread?: {
        id: string;
        resourceId: string;
        createdAt: Date;
        updatedAt: Date;
        title?: string | undefined;
        metadata?: Record<string, any> | 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