/** * Shared harness types — see `./H.ts` for the public namespace. */ import type { ToolFn } from "../../core/types.js"; /** A harness "tool" is just an async function with a `.toolName` brand. */ export type HarnessTool = ToolFn & { toolName: string; }; /** Tag a function as a tool with a stable name. */ export declare function asTool(name: string, fn: ToolFn): HarnessTool; /** Convert a frozen set / array / undefined into a `Set`. */ export declare function toSet(input: Iterable | undefined | null): Set; /** Resolve a path relative to a workspace root, throwing on traversal. */ export declare function resolveWithin(workspace: string, target: string): string; //# sourceMappingURL=types.d.ts.map