import type { ModelLoopStreamArgs } from '../../../llm/model/model.loop.types.js';
import type { MastraMemory } from '../../../memory/memory.js';
import type { MemoryConfigInternal } from '../../../memory/types.js';
import type { Span, SpanType } from '../../../observability/index.js';
import type { RequestContext } from '../../../request-context/index.js';
import type { Step } from '../../../workflows/step.js';
import type { InnerAgentExecutionOptions } from '../../agent.types.js';
import type { SaveQueueManager } from '../../save-queue/index.js';
import type { AgentMethodType } from '../../types.js';
import type { AgentCapabilities, PrepareMemoryStepOutput, PrepareToolsStepOutput } from './schema.js';
interface MapResultsStepOptions<OUTPUT = undefined> {
    capabilities: AgentCapabilities;
    options: InnerAgentExecutionOptions<OUTPUT>;
    resourceId?: string;
    threadId?: string;
    runId: string;
    requestContext: RequestContext;
    memory?: MastraMemory;
    memoryConfig?: MemoryConfigInternal;
    agentSpan?: Span<SpanType.AGENT_RUN>;
    agentId: string;
    methodType: AgentMethodType;
    saveQueueManager?: SaveQueueManager;
    /**
     * Shared processor state map that persists across agent turns.
     */
    processorStates?: Map<string, Record<string, unknown>>;
}
export declare function createMapResultsStep<OUTPUT = undefined>({ capabilities, options, resourceId, threadId: threadIdFromArgs, runId, requestContext, memory, memoryConfig, agentSpan, agentId, methodType, saveQueueManager, }: MapResultsStepOptions<OUTPUT>): Step<string, unknown, {
    'prepare-tools-step': PrepareToolsStepOutput;
    'prepare-memory-step': PrepareMemoryStepOutput;
}, ModelLoopStreamArgs<any, OUTPUT>>['execute'];
export {};
//# sourceMappingURL=map-results-step.d.ts.map