import type { ParsedArgs } from "./args.js"; import { type ValidateResult } from "./validate.js"; import { type CheckResult } from "./check.js"; import { type InspectResult } from "./inspect.js"; interface PreflightResult { ok: boolean; config: string; validate: ValidateResult; /** Null when --env-file flag is malformed (mirrors check). */ check: CheckResult | { ok: false; error: string; }; inspect: InspectResult | { ok: false; error: string; }; } interface WorkspacePreflightResult { ok: boolean; workspaceRoot: string; packages: Array<{ name: string; configPath: string; result: PreflightResult | { ok: false; error: string; }; }>; } /** * `node-settings preflight` — one-shot CI gate that combines * `validate`, `check`, and `inspect` (dry) for the configured envs. * * Exit codes: * 0 everything passed * 1 validation or completeness check failed * 2 caller-supplied flags were malformed (e.g. bad --env-file) */ export declare function runPreflight(args: ParsedArgs): Promise; export type { PreflightResult, WorkspacePreflightResult }; //# sourceMappingURL=preflight.d.ts.map