import type { Mastra } from '../../mastra/index.js'; import type { ComputeStateSignalArgs, ComputeStateSignalResult } from '../../processors/index.js'; /** * Input processor that publishes the agent's task list as a state signal. * * Add it to an agent's `inputProcessors` alongside the task tools so the task * list is carried across turns and survives observational-memory truncation. */ export declare class TaskStateProcessor { readonly id = "task-state"; readonly stateId = "tasks"; /** * The Mastra instance this processor is registered with, used to resolve the * thread-scoped task store. Set by the agent/Mastra runtime via * `__registerMastra`. * * We implement this hook inline rather than extending `BaseProcessor`: a * *value* import of `BaseProcessor` from `processors/index` pulls that module's * runtime graph, which forms an initialization cycle through this tools module. * At the test entry point that surfaces as `TypeError: Class extends value * undefined` (BaseProcessor is not yet initialized when this class evaluates). * Implementing the (structurally trivial) hook here keeps all imports from * `processors/index` type-only, so there is no runtime edge and no cycle. */ protected mastra?: Mastra; __registerMastra(mastra: Mastra): void; private resolveTaskStore; computeStateSignal(args: ComputeStateSignalArgs): Promise; } //# sourceMappingURL=task-state-processor.d.ts.map