/** * Backend calls behind the `ds` commands (list, refresh trigger, scan, file create). * * Project #272 Phase 0: extracted from `commands/ds.ts` (which crossed 800 * lines) into the existing `commands/ds/` subfolder, joining `refresh-history.ts`. * Mechanical split - no behavior change. `registerDSCommands` stays whole in * `ds.ts` so no Commander metadata moves and the generated command table in * SKILL.md cannot drift. */ import { DSInfo, ScanResult } from "./types.js"; import { Command } from "commander"; export declare function fetchDSList(limit?: number): Promise; export declare function triggerRefresh(id: string, force?: boolean): Promise<{ id: string; status: string; error?: string; }>; export declare function scanDS(id: string, force?: boolean, acceptSchema?: boolean): Promise; export declare function createDataSourceFromFile(cmd: Command, opts: Record): Promise;