import { CliOutputMode } from "./outfitter-fhahf9f3.js"; import { InternalError, NotFoundError, Result } from "@outfitter/contracts"; /** Validated input for the docs.show action handler. */ interface DocsShowInput { readonly cwd: string; readonly id: string; readonly jq?: string | undefined; readonly outputMode: CliOutputMode; } /** Output shape for the docs.show action. */ interface DocsShowOutput { readonly content: string; readonly entry: { readonly id: string; readonly kind: string; readonly outputPath: string; readonly package?: string; readonly sourcePath: string; readonly tags: string[]; readonly title: string; }; } /** * Show a specific documentation entry and its file content. * * Generates the docs map for the workspace, looks up the entry by ID, * and reads the source file content. * * @param input - Validated action input * @returns Result containing the entry metadata and content, or an error */ declare function runDocsShow(input: DocsShowInput): Promise>; /** * Print docs show results in the appropriate output format. * * @param result - The docs show output * @param options - Output formatting options */ declare function printDocsShowResults(result: DocsShowOutput, options?: { mode?: CliOutputMode; jq?: string | undefined; }): Promise; export { DocsShowInput, DocsShowOutput, runDocsShow, printDocsShowResults };