import type { DispatchTask } from "./types.ts"; import { formatDuration } from "./query/format-utils.ts"; /** * Re-exported so existing `./tool-helpers.ts` consumers keep working; the * implementation lives in the shared `./query/format-utils.ts`. */ export { formatDuration }; export declare function parentContextFromTool(context: { sessionID: string; agent: string; directory: string; }): { sessionID: string; agent: string; directory: string; }; export declare function buildCompletedOutput(task: DispatchTask, result: { text: string; resultText: string; totalChars: number; }, opts: { maxChars: number; offset?: number; limit?: number; tail?: boolean; }, dir: string): string; //# sourceMappingURL=tool-helpers.d.ts.map