import { type Backend } from './backend.js'; import type { Engine } from './types.js'; interface CheckResult { name: string; passed: boolean; message?: string; fix?: string; } interface OrphanCleanupResult { found: number; removed: number; } export interface RunPreflightOptions { backend?: Backend; verbose?: boolean; } export interface PreflightEnvironment { backend: Backend; workspace: string; home: string; } export declare function runPreflight(options?: RunPreflightOptions): Promise<{ passed: boolean; results: CheckResult[]; environment: PreflightEnvironment; }>; export declare function cleanupOrphans(engine?: Engine): Promise; export declare function formatPreflightResults(results: CheckResult[], environment?: PreflightEnvironment): string; export {};