import * as Option from "effect/Option"; import type { OutputFormat } from "./output-mode.js"; /** * Resolve output format from raw argv BEFORE Effect runs. * * If CLI parsing itself fails (e.g. unknown flag), Effect never executes, so * raw argv scanning is the only reliable way to preserve explicit --json. */ export declare const resolveFormatFromArgv: (args: ReadonlyArray) => OutputFormat; /** * Resolve output format from the global flag. * Text remains the default unless --json was explicitly requested. */ export declare const resolveFormat: (explicitJson: Option.Option) => OutputFormat; //# sourceMappingURL=resolve-format.d.ts.map