import { type DependencyCompatibility } from '../lib/dependency-version.js'; import { type DepSpec } from '../manifest/deps.js'; import { type EnvKey } from '../manifest/env.js'; import type { Context } from '../context.js'; export type SetupCheckResult = 'proceed' | 'aborted'; /** * Pre-flight gate for `byline setup`. Policy: * * - Missing core `@byline/*` deps → hard bail (seeds will throw on import). * - Missing both `.env` and `.env.local` → hard bail (every downstream phase * reads them). * - Missing keys across either file → warn and confirm (default No). Some * keys may legitimately be supplied via * shell env; the user is best placed * to judge. * * `--yes` does NOT auto-confirm the soft warning — the default is No, so * `-y` against a partial env aborts. That matches the intent: `-y` is * "I don't want to type defaults," not "I don't care if my env is broken." */ export declare function runSetupChecks(ctx: Context): Promise; export declare function findMissingBylineDeps(ctx: Context): DepSpec[] | null; export interface BylineDependencyIssue { spec: DepSpec; declared?: string; compatibility?: DependencyCompatibility; } export declare function findBylineDependencyIssues(ctx: Context): BylineDependencyIssue[] | null; export declare function findMissingEnvKeys(ctx: Context): EnvKey[]; //# sourceMappingURL=setup-checks.d.ts.map