import { z } from 'zod'; import { type Agent, type SwarmFunc } from './types.js'; export declare function swarmFunction, Return>(spec: { /** Name of the function. */ name: string; /** Description of the function. */ description?: string; /** Zod schema for the arguments string. */ argsSchema: Schema; }, /** Implementation of the function to call with the parsed arguments. */ implementation: (params: z.infer) => Promise): SwarmFunc; /** This is a simple no-op function that can be used to transfer context to another agent. */ export declare function swarmHandoff(args: { agent: Agent; description?: string; }): SwarmFunc;