import { CommandArgument, CommandResult } from '../../utils/types.js'; import { BaseCLICommand } from './baseCommand.js'; /** * Command to display documentation for a Fluent SDK topic. * Wraps: now-sdk explain [topic] * * As of SDK v4.6.0, `now-sdk explain` self-resolves documentation from its * own bundle and no longer requires a Fluent project. The CLI declares no * `--source` option (verified through SDK v4.14.2; yargs silently ignored the * flag this tool used to forward), so the tool accepts no project path. * * `topic` is optional — required only when `list` is not true. * * SDK v4.14.2: a topic with no exact match falls back to a ranked fuzzy search * over doc names, tags and bodies (5 results by default). `range` selects which * ranked results are shown; it has no effect on an exact match. `--list ` * applies `limit: to` before removing strong matches in SDK v4.14.2 and then * slices the remainder, which drops topics across adjacent pages — so `range` * is disallowed with `list: true`. */ export declare class ExplainCommand extends BaseCLICommand { name: string; description: string; annotations: { readOnlyHint: boolean; idempotentHint: boolean; }; timeoutMs: number; arguments: CommandArgument[]; protected validateArgs(args: Record): void; execute(args: Record, signal?: AbortSignal): Promise; } //# sourceMappingURL=explainCommand.d.ts.map