/** Capability routing for the complete named-agent handoff contract. * * Old orchestration callers omit this contract and retain their exact activity * names, inputs and descriptors. Orchestrations 1.0.75 and later opt into it. */ export declare const AGENT_HANDOFF_CAPABILITY = "pilotswarm.agent-handoff.v2"; export type ActivityRoutingContract = "agent-handoff-v2"; export declare const HANDOFF_ACTIVITY_NAMES: { readonly runTurn: "runTurnV3"; readonly runTurn2: "runTurnEpochV3"; readonly resolveAgentConfig: "resolveAgentConfigV2"; readonly resolveAgentForRequiredTool: "resolveAgentForRequiredToolV2"; readonly spawnChildSession: "spawnChildSessionV2"; readonly getSessionStatus: "getSessionStatusV2"; readonly listChildSessions: "listChildSessionsV2"; }; export declare function routedActivityName(name: keyof typeof HANDOFF_ACTIVITY_NAMES, contract?: ActivityRoutingContract): string; export declare function routeHandoffActivity(task: any, contract?: ActivityRoutingContract): any; /** Retain legacy handlers for already-scheduled work while registering the new contract. */ export declare function registerHandoffActivity(runtime: any, name: keyof typeof HANDOFF_ACTIVITY_NAMES, handler: any, versionedHandler?: any): void; //# sourceMappingURL=activity-routing.d.ts.map