/** * synap import — "capture, but for files and URLs". * * Routes EVERY input (local file, folder, or http(s) URL) through the SAME AI * capture centerpiece as free-text `capture`: * POST /capture/structure (AI entity extraction + workspace/project routing) * POST /capture/execute (materialize the chosen proposals + relations) * * One item per file/url. This inherits AI entity extraction, the relation graph, * workspace routing AND project routing for free — no separate /import/* path. * * Inputs: * - http(s) URL → sent as `url` * - directory → recursively globbed (skips node_modules/.git/dotfiles) * - file → text-like → utf8, everything else → base64 * * Routing: --workspace / --project override the AI's suggestion; otherwise the * AI-proposed targetWorkspaceId / targetProjectId from /capture/structure win. */ export interface ImportOpts { workspace?: string; project?: string; dryRun?: boolean; yes?: boolean; session?: boolean; json?: boolean; podUrl?: string; apiKey?: string; /** Adapter name: "superwhisper" enables paired store-first path. */ source?: string; /** Skip AI structure; store corpus units (Superwhisper). */ storeFirst?: boolean; withAudio?: boolean; limit?: number; concurrency?: number; resume?: boolean; } export declare function importData(inputs: string[], opts: ImportOpts): Promise;