export interface PrerequisiteCheck { name: string; status: 'ok' | 'warn' | 'error'; message: string; required: boolean; } /** * Check if Node.js version is sufficient */ export declare function checkNodeVersion(): PrerequisiteCheck; /** * Check if tmux is installed */ export declare function checkTmux(): PrerequisiteCheck; /** * Check platform compatibility */ export declare function checkPlatform(): PrerequisiteCheck; /** * Check if a port is available */ export declare function checkPort(port: number): Promise; /** * Run all prerequisite checks */ export declare function checkAllPrerequisites(port?: number): Promise; /** * Check if all required prerequisites are met */ export declare function allRequiredMet(checks: PrerequisiteCheck[]): boolean; /** * Check native dependencies (node-pty, better-sqlite3) */ export declare function checkNativeDeps(): Promise; /** * Get the stored Node ABI version from the last successful run */ export declare function getStoredAbiVersion(): string | null; /** * Store the current Node ABI version after successful native module load */ export declare function storeAbiVersion(): void; /** * Check if the Node ABI version has changed since last successful run */ export declare function isAbiVersionChanged(): boolean; /** * Rebuild native modules (better-sqlite3, node-pty) for the current Node version */ export declare function rebuildNativeModules(): { success: boolean; error?: string; }; /** * Ensure native modules are compatible with the current Node version. * Automatically rebuilds if a Node version change is detected. */ export declare function ensureNativeModules(): Promise; export declare const checkNode: typeof checkNodeVersion; //# sourceMappingURL=prerequisites.d.ts.map