import type { PermissionsStore } from "@dawn-ai/permissions"; import type { DawnToolContext } from "@dawn-ai/sdk"; import { type WorkspaceHarness } from "./workspace-harness.js"; export interface ToolHarness { invoke(input: I): Promise; readonly workspace: WorkspaceHarness; close(): Promise; [Symbol.asyncDispose](): Promise; } export interface ToolHarnessOptions { readonly middleware?: Readonly>; readonly workspace?: WorkspaceHarness; readonly permissions?: PermissionsStore; } export declare function createToolHarness(tool: (input: I, ctx: DawnToolContext) => Promise | O, opts?: ToolHarnessOptions): Promise>; //# sourceMappingURL=tool-harness.d.ts.map