import { tool } from "@opencode-ai/plugin/tool"; import { createAgentWorkContract, exportAgentWorkContract } from "../../features/agent-work-contracts/index.js"; import { AgentWorkCreateToolInputSchema, AgentWorkExportToolInputSchema, type AgentWorkCreateToolInput, type AgentWorkExportToolInput } from "../../schema-kernel/agent-work-contract.schema.js"; /** * Create the `hivemind-agent-work-create` OpenCode tool. * * @param projectRoot - Trusted project root where the contract store is written. * @returns Tool that creates durable work contracts. * * @example * ```typescript * const createTool = createHivemindAgentWorkCreateTool(process.cwd()) * ``` */ export declare function createHivemindAgentWorkCreateTool(projectRoot: string): ReturnType; /** * Create the `hivemind-agent-work-export` OpenCode tool. * * @param projectRoot - Trusted project root containing the contract store. * @returns Tool that exports contract handoff payloads. */ export declare function createHivemindAgentWorkExportTool(projectRoot: string): ReturnType; /** * Execute the create-tool action using validated input. * * @param projectRoot - Trusted project root. * @param args - Validated create-tool arguments. * @returns Create operation result. */ export declare function executeAgentWorkCreateToolAction(projectRoot: string, args: AgentWorkCreateToolInput): ReturnType; /** * Execute the export-tool action using validated input. * * @param projectRoot - Trusted project root. * @param args - Validated export-tool arguments. * @returns Export operation result. */ export declare function executeAgentWorkExportToolAction(projectRoot: string, args: AgentWorkExportToolInput): ReturnType; export { AgentWorkCreateToolInputSchema, AgentWorkExportToolInputSchema }; //# sourceMappingURL=hivemind-agent-work.d.ts.map