import { BaseResult } from "./result/base-result.type.mjs"; //#region ../ai/src/contracts/executable.contract.d.ts /** * Shared contract for all executable AI primitives (agent, workflow, supervisor). * All three implement this interface with their specific result types. * * @example * // An agent implements ExecutableContract> * const result = await agent.execute("Summarize this document"); * * @example * // A workflow implements ExecutableContract * const result = await workflow.execute({ topic: "AI trends" }); */ interface ExecutableContract { /** * Execute the primitive with the given input and options. * Returns a promise that resolves to the typed result. */ execute(input: TInput, options?: TOptions): Promise; } //#endregion export { ExecutableContract }; //# sourceMappingURL=executable.contract.d.mts.map