import { type SpawnOptions, type ChildProcess } from 'node:child_process';
export declare const isWindows: boolean;
export declare const isMac: boolean;
export declare const isLinux: boolean;
/**
 * Cross-platform spawn wrapper that automatically handles Windows compatibility.
 * On Windows, it sets shell: true to enable command execution.
 *
 * Note: When using stdio: ['ignore', 'pipe', 'pipe'], stdout and stderr are guaranteed to be non-null.
 */
export declare function crossSpawn(command: string, args?: string[], options?: SpawnOptions): ChildProcess;
/**
 * Check if a command exists in PATH.
 * Uses 'where' on Windows, 'which' on Unix.
 */
export declare function commandExists(command: string): Promise<boolean>;
/**
 * Get the correct newline character for the current platform.
 */
export declare const EOL: string;
//# sourceMappingURL=cross-platform.d.ts.map