/** * Delegation trajectory and contract creation. * * Extracted from tool-delegation.ts to satisfy the ≤500 LOC gate (GA-4). * Handles dynamic imports for trajectory and work-contract modules. * * @module session-tracker/delegation-trajectory */ import type { OpenCodeClient } from "../../shared/session-api.js"; /** * Creates a trajectory entry and agent-work-contract for a new delegation. * * Uses dynamic imports for the trajectory and contract modules since they * are optional dependencies that may not be available in all environments. * * @param client - OpenCode client for structured logging. * @param projectRoot - The project root path. * @param childSessionID - The child session being delegated. * @param parentSessionID - The parent session that initiated delegation. * @param subagentType - The type of subagent being delegated to. * @param description - The task description for the delegation. * @param rootMain - The root main session directory. * @param tool - The tool that triggered the delegation (task or delegate-task). */ export declare function createDelegationTrajectoryAndContract(client: OpenCodeClient, projectRoot: string, childSessionID: string, parentSessionID: string, subagentType: string, description: string, rootMain: string, tool: string): Promise; //# sourceMappingURL=delegation-trajectory.d.ts.map