import type { AgentTool } from "@earendil-works/pi-agent-core"; import { Type } from "typebox"; import type { Executor } from "../../sandbox/types.js"; declare const attachSchema: Type.TObject<{ label: Type.TString; path: Type.TString; title: Type.TOptional; }>; export declare function createAttachTool(): { tool: AgentTool; setUploadFunction: (fn: (filePath: string, title?: string) => Promise) => void; }; export declare function normalizeAttachRuntimePath(filePath: string, runtimeWorkspaceRoot: string): string; export declare function withStagedRuntimeFile(executor: Executor, runtimePath: string, upload: (stagedPath: string) => Promise): Promise; export {}; //# sourceMappingURL=attach.d.ts.map