/** * Map command — thin handler over the Map Capability * (tech-plan §2b, §8). * * The handler applies parse-level validation (URL scheme), delegates to * `capability.fetch(request)` through the generic shared execution * wrapper (`executeCachedOperation`), then projects the normalized * `MapResult` into the public envelope. The Adapter owns URL validation, * credentials, transport, raw response parsing, cache identity, and * error normalization; the handler owns output-mode presentation only * (no per-page projection — Map returns URLs only). * * Provider selection, capability support, configuration, Adapter * construction, and adapter.map agreement live in `src/index.ts`. */ import type { CommandContext, CommandResult } from "../command-invocation.js"; import type { MapCapability } from "../capabilities/map.js"; import type { ExecutionDependencies } from "../lib/execution.js"; export interface MapOptions { readonly depth?: number; readonly breadth?: number; readonly limit?: number; readonly selectPaths?: string; readonly excludePaths?: string; readonly instructions?: string; readonly noCache?: boolean; } /** * Dependencies injected by `src/index.ts` after Provider selection, * capability support check, configuration check, Adapter construction, * and adapter.map agreement. */ export interface MapHandlerDependencies { readonly capability: MapCapability; readonly execution: ExecutionDependencies; } export declare function map(url: string, options: MapOptions | undefined, deps: MapHandlerDependencies, _context?: CommandContext): Promise; export declare const MAP_HELP: string; //# sourceMappingURL=map.d.ts.map