import { OutputMode } from "@outfitter/cli/types"; type StructuredOutputMode = Extract; /** Output modes resolvable from CLI flags and env vars. */ type CliOutputMode = "human" | "json" | "jsonl"; /** * Narrow an output mode to its structured subset (`"json"` | `"jsonl"`). * * Returns `undefined` when the mode is not machine-readable (e.g., `"human"`, * `"tree"`, `"table"`) or when `mode` is `undefined`. * This is a pure type-narrowing helper — it does NOT check env vars. * Use `resolveOutputMode()` from `@outfitter/cli/query` for full resolution. */ declare function resolveStructuredOutputMode(mode?: OutputMode): StructuredOutputMode | undefined; export { StructuredOutputMode, CliOutputMode, resolveStructuredOutputMode };