import type { Context } from '../core/context.js'; import type { SubagentStructuredReport } from '../types/multi-agent.js'; import type { Tool } from '../types/tool.js'; /** Context metadata key used to hand the submitted report to the task runner. */ export declare const SUBAGENT_STRUCTURED_REPORT_META_KEY = "subagentStructuredReport"; export declare const MAX_SUBAGENT_STRUCTURED_REPORT_CHARS = 8000; /** * Validate and normalize a model-supplied structured result. The tool executor * already applies JSON Schema validation, but this guard keeps direct callers, * custom executors, and data read back from Context metadata honest too. */ export declare function normalizeSubagentStructuredReport(value: unknown): SubagentStructuredReport | undefined; export declare function readSubagentStructuredReport(ctx: Pick | { meta?: Record; } | undefined): SubagentStructuredReport | undefined; /** Stable compact text form for mailbox/roll-up surfaces. */ export declare function formatSubagentStructuredReport(report: SubagentStructuredReport): string; /** Safe, task-local handoff channel from a subagent to its Director. */ export declare function makeSubagentResultTool(): Tool; //# sourceMappingURL=subagent-result-tool.d.ts.map