/** * Weavetab — tools/upload.ts * browser_upload: inject file paths into elements without OS dialog. * Weavetab by fy2ne */ import CDP from "chrome-remote-interface"; import type { Config } from "../config/loader.js"; export interface UploadOptions { nodeId?: number; ref?: string; selector?: string; label?: string; filePaths: string[]; } export declare function browserUpload(session: CDP.Client, options: UploadOptions, config: Config): Promise<{ success: boolean; message: string; file: string; }>;